Skip to Main Content
Beginning Java 8 Fundamentals: Language Syntax, Arrays, Data Types, Objects, and Regular Expressions
book

Beginning Java 8 Fundamentals: Language Syntax, Arrays, Data Types, Objects, and Regular Expressions

by Kishori Sharan
June 2014
Beginner content levelBeginner
810 pages
23h 28m
English
Apress
Content preview from Beginning Java 8 Fundamentals: Language Syntax, Arrays, Data Types, Objects, and Regular Expressions

CHAPTER 6

image

Classes and Objects

In this chapter, you will learn:

  • What classes are in Java
  • How to declare classes in Java
  • How to declare class members such as fields and methods and their access levels
  • How to create objects of a class
  • How to declare import statements in a compilation unit
  • The meaning of the pronouns this and super in a Java program
  • Different parameter passing mechanisms in general, and then, the parameter passing mechanisms in Java
  • What constructors of a class are and how to use them
  • Initializers of a class
  • Declaring final variables, classes, and methods
  • How to declare and use varargs parameters
  • What generic classes are and how ...
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

Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions

Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions

Kishori Sharan

Publisher Resources

ISBN: 9781430266532Purchase book