publicclass or interface, then it must have the same name as the class or interface.
packagestatement is used to identify the package associated with the classes and interfaces of a source code file.
importstatement is used to import classes and interfaces from other packages.
main()method has the
staticmodifiers and the
voidreturn type. It has a single argument of the
Stringtype which is used to access command line arguments.
null,or any of the 47 reserved keywords.
Stringtype, and objects.