Java Chapter 1 Questions
Java Chapter 1 Questions
7. The Java language has most in common with the following language:
a. C#.
b. C.
c. C++.
d. Basic.
8. The basis for object oriented programming can be found in which of the
following?
9. That unit of code in Java that contains the specifications for objects is:
a. A class.
b. A method.
c. An instance variable.
d. A constructor.
12. In order to use objects of a given class the programmer needs to:
a. Know what the methods do, but not how they do it.
b. Know all of the instance variables of the class.
c. Know how the method algorithms were implemented.
d. Know the types of all of the instance variables of the class.
a. .java
b. .txt
c. .doc
d. .xls