0% found this document useful (0 votes)
15 views1 page

43-Variable of Class Type Are Also Referred To As - Variables. A) Orientation B) Position C) Reference

Uploaded by

Priyansh Gangani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

43-Variable of Class Type Are Also Referred To As - Variables. A) Orientation B) Position C) Reference

Uploaded by

Priyansh Gangani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

a.

Serialization
b. Variable Shadowing
c. Abstraction
d. Multi-threading
Answer: (b)

39-Which of the following is true about the anonymous inner class?


a. It has only methods
b. Objects can't be created
c. It has a fixed class name
d. It has no class name
Answer: (d)
40-Which package contains the Random class?
a. java.util package
b. java.lang package
c. java.awt package
d. java.io package
Answer: (a)

41-What do you mean by nameless objects?


a. An object created by using the new keyword.
b. An object of a superclass created in the subclass.
c. An object without having any name but having a reference.
d. An object that has no reference.
Answer: (d)

42-Which option is false about the final keyword?


a. A final method cannot be overridden in its subclasses.
b. A final class cannot be extended.
c. A final class cannot extend other classes.
d. A final method can be inherited
Answer: (c)

43-Variable of class type are also referred to as________variables.

a) Orientation

b) Position

c) Reference

You might also like