Skip to Content
Java: The Complete Reference, Eleventh Edition, 11th Edition
book

Java: The Complete Reference, Eleventh Edition, 11th Edition

by Herbert Schildt
December 2018
Intermediate to advanced
1248 pages
33h 55m
English
McGraw-Hill
Content preview from Java: The Complete Reference, Eleventh Edition, 11th Edition

CHAPTER

6

Introducing Classes

The class is at the core of Java. It is the logical construct upon which the entire Java language is built because it defines the shape and nature of an object. As such, the class forms the basis for object-oriented programming in Java. Any concept you wish to implement in a Java program must be encapsulated within a class.

Because the class is so fundamental to Java, this and the next few chapters will be devoted to it. Here, you will be introduced to the basic elements of a class and learn how a class can be used to create objects. You will also learn about methods, constructors, and the this keyword.

Class Fundamentals

Classes have been used since the beginning of this book. However, until now, only the most ...

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: The Complete Reference, Twelfth Edition, 12th Edition

Java: The Complete Reference, Twelfth Edition, 12th Edition

Herbert Schildt

Publisher Resources

ISBN: 9781260440249