The correct order of the declarations in a java program is :

A. Package declaration, import statement, class declaration
B. Import statement, package declaration, class declaration
C. Import statement, class declaration, package declaration
D. Class declaration, import statement, package declaration
View Answer

A. Package declaration, import statement, class declaration

Leave a Comment