Computer Science 1037A/B Midterm: CS1027midtermSolutions2009.doc

102 views14 pages

Document Summary

Allow approximately 1. 5 minute per mark on average: there is a page for rough work at the end of the exam paper, read the questions carefully! Do not turn this page until directed to do so. Total (max 80: (15 marks) true/false (circle your answers) (answers are italicized, (1 mark) a static method within a class can be invoked without having to instantiate an object of that class. False: (1 mark) a java interface should never contain a constructor. False c) (1 mark) a java interface never contains an attribute (instance variable) declaration. False: (1 mark) a new class x derived from a class y establishes an is-a relationship from class x to class y. False: (1 mark) all java classes are derived, directly or indirectly from the object class. False f) (1 mark) any method in a java class x can call public and private methods from x. False: (1 mark) in the java statement.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents

Related Questions