Skip to Main Content
Java
book

Java

by Michael Sikora
January 2003
Beginner to intermediate content levelBeginner to intermediate
150 pages
7h 28m
English
Morgan Kaufmann
Content preview from Java
Two fundamental concepts in object-oriented programming are that of classes and
objects. A
class
can be regarded as an object template: it describes how an object looks and
operates. We may have a bank account class that holds details such as account number, account
name, and balance. These are defined by member variables that are said to define the
state
of
the class. Examples of operations associated with the bank account class are making a deposit
or a withdrawal.
Operations,
or methods in object-oriented terminology, are said to define the
behavior of a class. An
object
is an instance of a class. Corresponding to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Programming

Java Programming

Hari Mohan Pandey
Java Programming

Java Programming

Poornachandra Sarang
JAVA Programming

JAVA Programming

K. Rajkumar
Java 9 for Programmers

Java 9 for Programmers

Paul J. Deitel, Harvey Deitel

Publisher Resources

ISBN: 9781558609099