java quiz Interview Questions and Answers
Ques:- Which one of the following languages is pure object oriented language?
A. Java
B. C
C. C++
D. Object pascal
Ques:- POP is a/an
A. Optional object programming
B. Object optional programming
C. Object oriented programming
D. None of these
Ques:- By invoking repaint ( ) for a component, the AWT invokes the method
A. Update ( )
B. Show ( )
C. Paint ( )
D. Draw ( )
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
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
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
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
Ques:- Which one of the following concept is incorporated in building a java program?
A. Polymorphism
B. Inheritance
C. Encapsulation
D. All of these
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
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
Ques:- The method which belongs to the string class is/are
A. Compare to ( )
B. Length ( )
C. Substring ( )
D. Equals ( )