can we have multiple public classes in a java source file code example
Example: 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.