Computer Science 3675
Fall 2015
Practice Questions for Quiz 10

  1. Are all object-oriented programming languages statically typed? Answer

  2. Is a class an important concept of object-based programming? Answer

  3. In object-oriented programming language implementations, are methods stored in objects? Answer

  4. In a single-inheritance object-oriented language, is there a limit on the number of base classes that a class can have? Answer

  5. In a single-inheritance object-oriented language, is there a limit on the number of subclasses that a class can have? Answer

  6. In a single-inheritance object-oriented language, is there a limit on the number of superclasses that a class can have? Answer

  7. In object-oriented programming, is a private variable of an object accessible only to that one object, or is it possible for other objects to access it directly? Answer

  8. In object-oriented programming, you imagine that objects carry methods with them. Yet, the methods are not really stored with the objects. How does an object locate its methods? How does it know which methods to select? What is the name of the system support that is responsible for locating methods? Answer

  9. How does the mechanism for inheriting variables work in single-inheritance object-oriented languages? Answer

  10. What are the characteristics of a virtual method? What makes it virtual? Answer

  11. What is an abstract class? Answer

  12. What is the difference between static method selection and dynamic method selection? Answer