2551.quiz4.Summer2007

2551.quiz4.Summer2007 - COP 2551 Quiz #4 Summer 2007 Name:...

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

View Full Document Right Arrow Icon
COP 2551 – Quiz #4 Summer 2007 Name: ___________________ Quiz is worth 20 points. You may, however, earn 21 points! 1. (True, False) When an object is passed to a method, the actual and formal parameters become aliases. 2. (True, False) Versions of overloaded methods are distinguished by the number, type, order of parameters and the return type. 3. (True, False) Static variables (class variables) may be referenced outside of the class within which they are defined via the ClassName.variableName. 4. (True, False) A Constructor can only have the return type of void. 5. (True, False) Constructors may be overloaded. 6. (True, False) A static variable can only be accessed via a static method in the class. 7. (True, False) Static methods cannot access instance variables, because instance variables only exist after an object has been instantiated. 8. ……(Circle your choice) Inheritance is sometimes described as a: a. whole-part relationship b. is_a relationship b. dependency relationship
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.quiz4.Summer2007 - COP 2551 Quiz #4 Summer 2007 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