February 2014
Beginner
1248 pages
62h 25m
English
• A method call specifies the name of the method to call and provides the arguments that the called method requires to perform its task. When the method call completes, the method returns either a result, or simply control, to its caller.
• A class may contain static methods to perform common tasks that do not require an object of the class. Any data a static method might require to perform its tasks can be sent to the method as arguments in a method call. A static method is called by specifying the name of the class in which the method is declared followed by a dot (.) and the method name, as in
ClassName.methodName(arguments)
• Class Math provides static methods for performing common ...
Read now
Unlock full access