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 ...

Get Java Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.