Answers for "Can we have more than one package statement in source file"

0

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 at most only 1 package statement. 
We will get compilation error if we have more than one package statement in
source file.
Posted by: Guest on November-30-2020

Code answers related to "Can we have more than one package statement in source file"

Browse Popular Code Answers by Language