February 2014
Beginner
1248 pages
62h 25m
English
• You must call most methods other than main explicitly to tell them to perform their tasks.
• A key part of enabling the JVM to locate and call method main to begin the app’s execution is the static keyword, which indicates that main is a static method that can be called without first creating an object of the class in which the method is declared.
• Most classes you’ll use in Java programs must be imported explicitly. There’s a special relationship between classes that are compiled in the same directory. By default, such classes are considered to be in the same package—known as the default package. Classes in the same package are implicitly imported into the source-code files of other classes ...
Read now
Unlock full access