previous
|
start
|
next
Calling Static Methods
A
static
method does not operate on an object
double x = 4;
double root = x.sqrt(); // Error
Static methods are defined inside classes
Naming convention: Classes start with an uppercase letter; objects start with a lowercase letter
Math
System.out
previous
|
start
|
next