References


Self-Test Questions

1. 

What is the Java platform?

image from book

2. 

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

 - the sdk includes development command-line tools.

3. 

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

image from book

4. 

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

image from book

5. 

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

 - the total sum of its functionality.

6. 

What is meant by the term deprecated ?

image from book

7. 

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

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

8. 

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

image from book

9. 

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

 - to learn the total sum of the class s functionality

10. 

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

 - the method s inherited from... section(s).

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).




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net