O'Reilly logo

Java Garage by Eben Hewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

M
members

The data elements that make up a class: inner classes, methods, and variables.

method

An element defined inside a class that performs a function, can accept arguments, and return a single result. A method body consists of the block of statements inside curly braces.

modifier

A keyword placed in the definition of a class, method, or variable that changes how the element acts. There are visibility modifiers (typically called access modifiers), such as public, protected, and private, and other modifiers, such as final or native.

modulus

The operator that returns the remainder of an integer division operation, represented in Java as %. For example, 5 % 2 returns 1.

multiple inheritance

Refers to the capability of a programming language to support ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required