Java 2 Primer Plus

   

Java™ 2 Primer Plus

By Steven Haines, Steve Potts

Table of Contents
Chapter 6.  Classes

1:

Define encapsulation.

2:

What is the purpose of the get/set methods?

3:

What is a constructor? When is it called?

4:

What is the difference between a public variable and a private variable?

5:

What is the this variable, and what is it used for?

6:

What is composition?

7:

What is garbage collection, and when is it run?

8:

What is an inner class, and what types of inner classes can you create?

9:

What does "pass by reference" mean?

10:

What is significant about the fact that object variables are really references to objects?


       
    Top
     

    Категории