Chapter 3- True/False    When an instance variable declared to be private,

Question : Chapter 3- True/False    When an instance variable declared to be private, : 2043792

Chapter 3-


  1.    When an instance variable is declared to be private, that instance variable is directly accessible in all subclasses.


  1.    The term partial overriding, refers to invoking the method with the same name in the superclass and then adding additional functionality.
  2.    Overriding of an inherited method, means that the subclass has its own method and does not use the one inherited from the superclass.


  1.    Classes in Java can have more than one superclass.
  2.    Bottom-up design is when you start with a class and notice that you need one or more subclasses of that class.
  3.    In UML inheritance is shown using an arrow head that is a triangle pointing toward the superclass from the subclass.
  4.    Instances of an abstract class can be instantiated.

  1.    Abstract classes can be used to specify a capability that is implemented differently by the subclasses.
  2.    One purpose for using a stub is to model a situation where a subclass does nothing in response to a capability of its superclass, as when an penquin does not have the ability to fly although it is a bird.

  1. The first task in the constructor of a subclass is to invoke the constructor of the superclass.


5 (1 Ratings )

Computer Science 6 Months Ago 190 Views
This Question has Been Answered!
Unlimited Access Free
Explore More than 2 Million+
  • Textbook Solutions
  • Flashcards
  • Homework Answers
  • Documents
Signup for Instant Access!
Ask an Expert
Our Experts can answer your tough homework and study questions
154368 Computer Science Questions Answered!
Post a Question