Exam 10: Java Programming Language: Inheritance, Interfaces, Packages, and Methods

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is incorrect statement about packages?

Free
(Multiple Choice)
4.9/5
(27)
Correct Answer:
Verified

D

Which of these methods are used to register a keyboard event listener?

Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
Verified

C

Which command disassembles a class file

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

In which package is the class Vector located?

(Multiple Choice)
4.9/5
(41)

What is a listener in context to event handling?

(Multiple Choice)
4.9/5
(40)

Which method in Thread class is used to check weather a thread is still running?

(Multiple Choice)
4.8/5
(31)

Which of these class contains the methods print() & println()?

(Multiple Choice)
4.8/5
(41)

To design a general-purpose search method, searchList, to search a list, which of the following must be parameters of the method searchList? (i) The array containing the list. (ii) The length of the list. (iii) The search item. (iv) A boolean variable indicating whether the search is successful.

(Multiple Choice)
4.9/5
(42)

Which of these methods are used to register a mouse motion listener?

(Multiple Choice)
4.9/5
(36)

Which of the following is correct way of implementing an interface salary by class manager?

(Multiple Choice)
4.9/5
(49)

Which of the following statements is false as far as different type of statements is concern in JDBC?

(Multiple Choice)
4.9/5
(31)

Consider the following list. int[] intList = {35, 12, 27, 18, 45, 16, 38}; What is the minimum number of comparisons that have to be made to find 18 using a sequential search on intList?

(Multiple Choice)
4.9/5
(43)

Which exception is thrown by read() method?

(Multiple Choice)
4.7/5
(34)

What is an event in delegation event model used by Java programming language?

(Multiple Choice)
4.9/5
(44)

Which of the following are true about interfaces.

(Multiple Choice)
4.9/5
(45)

Which of these packages contains all the classes and methods required for even handling in Java?

(Multiple Choice)
4.9/5
(39)

For the interface WindowListener that contains more than one method, Java provides the class ____.

(Multiple Choice)
4.8/5
(44)

Which of these is correct way of inheriting class A by class B?

(Multiple Choice)
4.9/5
(39)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)