Identify the correct statement regarding packages in Java?
A) Every class is part of some package. 
B) All classes in a file are part of the same package. 
C) If no package is specified, the classes in the file go into a special unnamed package 
D) If no package is specified, a new package is created with folder name of class and the class is put in this package. 

1
Only A, B and D
2
Only A and C
3
Only A, B and C
4
Only D
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation