Basic Java MCQ Quiz Questions - 2

Question: 6

By invoking repaint ( ) for a component, the AWT invokes the method

(A) Update ( )

(B) Show ( )

(C) Paint ( )

(D) Draw ( )

Ans: A

Update ( )

Question: 7

The default priority is

(A) 1

(B) 2

(C) 4

(D) 5

Ans: D

5

Question: 8

Which one of the following is not a wrap class?

(A) Short

(B) Double

(C) Byte

(D) Random

Ans: D

Random

Question: 9

POP is a/an

(A) Optional object programming

(B) Object optional programming

(C) Object oriented programming

(D) None of these

Ans: C

Object oriented programming

Question: 10

Which one of the following languages is pure object oriented language?

(A) Java

(B) C

(C) C++

(D) Object pascal

Ans: A

Java

Related Questions