Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming

Chapter 5

1. 

What is the Java platform?

2. 

What’s the difference between the software development kit (SDK) and the Java runtime environment (JRE)?

3. 

Where’s a good place to look for detailed Java platform API information?

4. 

In your own words explain what is meant by an inheritance hierarchy.

5. 

What vital information can be learned from tracing a class’s inheritance hierarchy?

6. 

What is meant by the term deprecated ?

7. 

List and describe the functionality provided by at least seven Java platform API packages.

8. 

From what common class do all Java classes (except one) inherit functionality?

9. 

Why do you think it’s a good idea to trace a class’s inheritance hierarchy?

10. 

What section(s) of a class detailed documentation page makes it easy to trace inherited functionality?

Answers

1. 

- The Java platform consists of the Java VM. runtime environment, and a collection of API classes.

2. 

- The SDK includes development command-line tools.

3. 

- java.sun.com

4. 

- A hierarchy of classes containing base classes and subclasses. A subclass inherits functionality defined by the its base class.

5. 

- The total sum of its functionality.

6. 

- A deprecated class or method’s functionality has been replaced by another, better-performing class or method. The deprecated class or method may not be supported by future versions of the Java platform.

7. 

- The answer to this question is left up to the student.

8. 

- java.lang.Object

9. 

- To learn the total sum of the class’s functionality

10. 

- The “Method’s inherited from...” section(s).

Категории