1. A class is a blueprint from which individual objects are created.
2. In the above example, barking(), hungry() and sleeping() are _________.
3. Programmers use ______ to represent a physical object or nonphysical concept, real or imagined, by defining a class.
4. A class is defined based on the ______________________of the object or concept.
5. In the below code, 'name' and 'cell' are both:
6. The keywords public and private affect the ______ of classes, data, constructors, and methods.
7. Fields are also called i__________ variables or object variables or properties.
8. On what line(s) are the field declarations in the below code?
9. The keyword private _____________ to the declaring class, while the keyword public allows access from classes outside the declaring class.
10. Access to attributes should be kept internal to the class. Therefore, instance variables are designated as ____________.
11. Access to behaviors can be internal or external to the class. Therefore, _________ can be designated as either public or private.
12. ________ hold the data for an object. _________ record what an object needs to know to do work in the program. ________ are also called instance variables or object variables or properties.
13. Setting something to private is comparable to the access rights you may have on your _________________. Only you should have direct access to it.
14. Fields are declared ______________________.They start with private then the type of the field and then a name for the field.
15. The following line would ask the _______ to load all the classes available in directory java_installation/java/io ?
16. How many instance variables can you count in the below code?
17. The above class has ____ explicitly defined constructor, which takes ___ parameter.
18. Referring to the code above and the Employee class, and the below code, note that the below class creates _______________________________.
19. Constructors don?t actually construct the object. The class makes the object and then executes a constructor to ______________________________________.
20. Constructors are specified after the fields and before any methods. They typically start with _____________________________.