CIS 407 All Assignments CIS 407 All Assignments | Page 5
CIS 407 Midterm Exam
1)
When you employ____,your data can be altered only by the methods you choose
and only in ways that you can control.
2)
Conventionally , arrows used in a____ to show inheritance relationships extend
form the descendant class and point to the from which it descends.
3)
Which of the following statements depicts the valid format to call a superclass
construcfor form a subclass constructor?
4)
The class used as a basis for inheritance is the _class.
5)
Usually, the subclass constructor only needs to initialize the___, that are specific to
the subclass.
6)
You use the keyword
to achieve inheritance in java.
7)
___ method is useful in debugging a program because it can be used to display and
examine values.
8)
If java did not allow you to ___ classes, you would need to create every part of a
program from scratch.