React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in JAVA by
Can we have more than one package statement in source file ?

We can’t have more than one package statement in source file. In any java program there can be atmost

only 1 package statement. We will get compilation error if we have more than one package statement in

source file.
Click here to read more about JAVA

1 Answer

0 votes
by

We can’t have more than one package statement in source file. In any java program there can be atmost

only 1 package statement. We will get compilation error if we have more than one package statement in

source file.

Related questions

Madanswer
...