javapants
Showing posts with label
member access operator
.
Show all posts
Showing posts with label
member access operator
.
Show all posts
Friday, December 21, 2012
member access operator (.)
In Java, the dot (
.
) is an operator called the
member access operator
.
This operator is used to separate the class/object name from a method name.
For instance, an object called
playerOne
that has a method called
fight
:
playerOne.fight()
Older Posts
Home
Subscribe to:
Posts (Atom)