A) class Manager extends salary {}
B) class Manager implements salary {}
C) class Manager imports salary {}
D) None of the mentioned.
Correct Answer
verified
Multiple Choice
A) class B + class A {}
B) class B inherits class A {}
C) class B extends A {}
D) class B extends class A {}
Correct Answer
verified
Multiple Choice
A) addMouse()
B) addMouseListener()
C) addMouseMotionListner()
D) eventMouseMotionListener()
Correct Answer
verified
Multiple Choice
A) Package defines a namespace in which classes are stored.
B) A package can contain other package within it.
C) Java uses file system directories to store packages.
D) A package can be renamed without renaming the directory in which the classes are stored.
Correct Answer
verified
Multiple Choice
A) 1
B) 2
C) 3
D) 4
Correct Answer
verified
Multiple Choice
A) Methods declared in interfaces are implicitly private.
B) Variables declared in interfaces are implicitly public, static, and final.
C) An interface contains any number of method definitions.
D) The keyword implements indicate that an interface inherits from another.
Correct Answer
verified
Multiple Choice
A) javaamd
B) javacmd
C) java
D) javap
Correct Answer
verified
Multiple Choice
A) java.applet
B) java.awt
C) java.event
D) java.awt.event
Correct Answer
verified
Multiple Choice
A) (i) and (ii)
B) (i) , (ii) , and (iii)
C) (ii) , (iii) , and (iv)
D) (i) , (ii) , (iii) , and (iv)
Correct Answer
verified
Multiple Choice
A) MouseAdapter
B) WindowAdapter
C) KeyListener
D) KeyAdapter
Correct Answer
verified
Multiple Choice
A) System
B) System.out
C) BufferedOutputStream
D) PrintStream
Correct Answer
verified
Multiple Choice
A) A listener is a variable that is notified when an event occurs.
B) A listener is a object that is notified when an event occurs.
C) A listener is a method that is notified when an event occurs.
D) None of the mentioned
Correct Answer
verified
Multiple Choice
A) isAlive()
B) Join()
C) isRunning()
D) Alive()
Correct Answer
verified
Multiple Choice
A) java.io
B) java.lang
C) java.util
D) java.text
Correct Answer
verified
Multiple Choice
A) Regular Statement
B) Prepared Statement
C) Callable Statement
D) Interim Statement
Correct Answer
verified
Multiple Choice
A) IOException
B) InterruptedException
C) SystemException
D) SystemInputException
Correct Answer
verified
Multiple Choice
A) An event is an object that describes a state change in a source.
B) An event is an object that describes a state change in processing.
C) An event is an object that describes any change by the user and system.
D) An event is a class used for defining object, to create events.
Correct Answer
verified
Multiple Choice
A) KeyListener()
B) addKistener()
C) addKeyListener()
D) eventKeyboardListener()
Correct Answer
verified
Showing 1 - 18 of 18
Related Exams