public
class or interface, then it must have the same name as the class or interface. package
statement is used to identify the package associated with the classes and interfaces of a source code file. import
statement is used to import classes and interfaces from other packages. main()
method has the public
and static
modifiers and the void
return type.
It has a single argument of the String[]
type which is used to access command line arguments.true
, false
, null,
or any of the 47 reserved keywords.boolean
, byte
, char
, short
, int
, long
, float
, and double
.String
type, and objects."null"
.