Answer the following statements true (T) or false (F)

1) An attribute that begins with a single underscore is a private attribute.
2) The destructor is called when the keyword del is used on an object.
3) A shared class attribute should be initialized in the constructor.
4) When invoking an object’s method, a program does not need to pass a value that corresponds to the object reference parameter.
5) Every class should have a __del__ method to reclaim an object’s memory.

1) F
2) F
3) F
4) T
5) F

Computer Science & Information Technology

You might also like to view...

Which of the following is a goal of dividing a Web site into a series of Web pages?

A) improve the ease of maintaining the Web site B) improve the collection of Web metrics C) improve tracking of page movement by the customer D) improve the revenue obtained by page marketing

Computer Science & Information Technology

To preview your site's pages in a browser after attaching style sheets, you can click the Preview in browser button arrow on the ____ and then select the browser and screen resolution.

A. Apply Styles task pane title bar B. Common toolbar C. Standard toolbar D. Previewing toolbar

Computer Science & Information Technology