DOEACC Society 2006 DOEACC A Level A10.2-R3 Introduction to Object Oriented Programming through Java ( ) - Question Paper
Thursday, 13 June 2013 07:05Web
Page 2 of 2
C) ImageConsumer
D) ImageProducer
1.9 Which of the subsequent is not a wrapper class?
A) Vector
B) Character
C) Boolean
D) Integer
1.10 The class at the top of the AWT hierarchy is
A) Component
B) Window
C) Container
D) Frame
A10.2-R3 Page two of five July, 2006
2. every statement beneath is either actual or FALS
E. select the most improper one
and ENTER in the “tear-off” sheet attached to the ques. paper, subsequent
instructions therein. (1 x 10)
2.1 If getParameter() returns NULL, then assigning the return value to a variable of kind
string may reason an exception to be thrown.
2.2 A string object once created cannot be replaced.
2.3 To ensure controlled access to a shared resource by multiple threads, use serialization.
2.4 All the methods in an abstract class must be declared as abstract.
2.5 In dynamic method dispatch, the call to overridden methods is resolved at runtime.
2.6 The objects System.out and System.in must be created explicitly by programmers.
2.7 It is possible to run garbage collector on demand by calling gc() method.
2.8 A static method cannot have local variables.
2.9 The CODE value in an