ITI 1121 Final: ITI 1121 University of Ottawa 2011 Final Exam-en

17 views18 pages

Document Summary

Question 1: (10 marks: the statement cmp = compare( i, j ) below will produce a compile-time error. True or false. i f ( p == n u l l. True or false: each instance of a class has its own set of instance variables. True or false: when you write a constructor for a class, the default constructor that java automatically provides is no longer present. True or false: a reference variable of type t can reference an object of class t or any of its superclasses. True or false: you are not required to catch exceptions that inherit from the class runtimeexception. True or false: the throws clause causes an exception to be thrown. True or false: in a singly linked list implementation, the reference tail facilitates the implementation of the method addlast. True or false: in a binary search tree, duplicated values are not allowed.

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