Answer the following statements true (T) or false (F)
1. A derived class contains only public instance variables and public methods from the base class.
2. Inheritance refers to a very specialized form of a class.
3. A derived class is a class defined by adding instance variables and methods to an existing class.
4. When you define a derived class, you give only the added instance variables and the added methods
as well as all the methods from the base class.
5. The keyword extends indicates polymorphism.
1. False
2. False
3. True
4. False
5. False
You might also like to view...
Registers can be accessed much more quickly than random access memory.
Answer the following statement true (T) or false (F)
Documentation written for programmers should include text and program flowcharts, ________, and sample output as well as system flowcharts.
A. program listings B. syntax errors C. pseudocode D. logic errors