java quiz

Ques:- Which one of the following languages is pure object oriented language?
A. Java
B. C
C. C++
D. Object pascal

3 6051
Ques:- Which one of the following is not a wrap class?
A. Short
B. Double
C. Byte
D. Random

4 7650
Ques:- POP is a/an
A. Optional object programming
B. Object optional programming
C. Object oriented programming
D. None of these

2 8693
Ques:- Which one of the following is not a java keyword?
A. static
B. break
C. study
D. class

1 9131
Ques:- By invoking repaint ( ) for a component, the AWT invokes the method
A. Update ( )
B. Show ( )
C. Paint ( )
D. Draw ( )

1 3253
Ques:- The default priority is
A. 1
B. 2
C. 4
D. 5

2 8985
Ques:- When the thread is ready for execution and waiting for the availability of the processor, it is said to be
A. dead state
B. running state
C. in runable state
D. blocked state

1 7900
Ques:- Java declaration statement must end with
A. a semicolon
B. full stop
C. comma
D. a colon

0 3585
Ques:- For a 32-bit integer value, keyword used is
A. Boolean
B. Int
C. Short
D. Long

0 7225
Ques:- A web page is
A. Made up of text and HTML tags
B. Marked by an opening HTML tag
C. Marked by a closing HTML tag
D. All of these

0 7995
Ques:- Java is a general purpose object oriented programming language developed by
A. Patrick Naughton
B. Infosys
C. I.B.M.
D. Microsystems of USA

1 8394
Ques:- Which one of the following web browsers uses Just-In-Time (JIT) complier?
A. Hot JAVA
B. Netscape navigator
C. Internet Explorer
D. None of these

0 8176
Ques:- ?: is: a/an
A. Assignment operator
B. Conditional operator
C. Logical AND
D. Inequality

0 4715
Ques:- Which one of the following is a java keyword?
A. Public
B. Void
C. While
D. Switch

0 1673
Ques:- Which one of the following concept is incorporated in building a java program?
A. Polymorphism
B. Inheritance
C. Encapsulation
D. All of these

0 7308
Ques:- Object oriented programming language, is
A. C++
B. Java
C. Both (a) and (b)
D. None of these

0 4356
Ques:- The methods wait ( ) and notify ( ) are defined in
A. java.lang.object
B. java.lang.thread
C. java.lang.string
D. java.lang.threadgroup

0 3910
Ques:- Java
A. is most suitable for Internet programming
B. non an acronym
C. a really simple, reliable, portable and powerful language
D. all of these

0 6501
Ques:- Which one of the following is a logical operator?
A. ||
B. &&
C. !
D. all of these

0 4687
Ques:- The method which belongs to the string class is/are
A. Compare to ( )
B. Length ( )
C. Substring ( )
D. Equals ( )

0 3367
Scroll to top