2551.quiz6.Spring2010

2551.quiz6.Spring2010 - COP 2551 Quiz 6 Spring 2010 Name: _...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 2551 Quiz 6 Spring 2010 Name: _______________________________ 1………. (True, False) The class that extends the derived class is called the base class. 2………. (True, False) The UML connection between classes indicating inheritance is a dashed line with an open triangle. 3………. (True, False) Inheritance is considered a has_a relationship. 4………. (True, False) The ‘protected’ visibility indicator does compromise the sacred principle of encapsulation to a limited extent. 5………. (True, False) You would normally see the protected modifier in a derived class. 6………. (True, False) A protected variable is visible to any class in the same package as the parent class 7………. (True, False) The super method is often used to initialize attribute values in the base class. 8………. (Fill in) In Java we simulate multiple inheritance by using single inheritance and __________________.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Page1 / 2

2551.quiz6.Spring2010 - COP 2551 Quiz 6 Spring 2010 Name: _...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online