Exam2_08.2 - a may not contain an = b may not be on the right-hand side of an = c may not be on the left-hand side of an = d should not read or

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
6. Classes Line , Axis , Polygon , etc. derive from class Shape a. so they can share common code b. so class Window doesn't have to be changed to draw a new shape c. because they all have line style and color data members d. all of the above e. none of the above 7. Having the first argument almost always be a Point is an example of a. particularity b. regularity c. precision d. accuracy e. none of the above 8. Public members of a class or struct a. are visible from the point they are declared to the end of the class b. are visible anywhere in the class, even above the declaration c. are visible from the point they are declared to the end of the source file d. all of the above e. none of the above 9. An expression which changes the value of a variable
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a. may not contain an = b. may not be on the right-hand side of an = c. may not be on the left-hand side of an = d. should not read or write the variable twice e. none of the above 10. A constructor a. has the same name as its struct or class b. does not have a return type c. leaves an object with a valid value d. all of the above e. none of the above 11. Attaching graphical objects to a Simple_window a. must be done in the correct order if they overlap b. must be done before wait_for_button() is called c. enables them to be drawn on the screen d. all of the above e. none of the above...
View Full Document

This note was uploaded on 02/18/2012 for the course CSCE 121 taught by Professor Walter daugherity during the Fall '09 term at Texas A&M.

Ask a homework question - tutors are online