Exam 10: Java Programming Language: Inheritance, Interfaces, Packages, and Methods
Exam 1: Java Programming Language25 Questions
Exam 2: Java Object-Oriented Programming24 Questions
Exam 3: Java Programming: Data Types, Inheritance, Interfaces, Packages, and Exception Handling25 Questions
Exam 4: Java Exception Handling and Inputoutput Operations25 Questions
Exam 5: Java Inputoutput and Event Handling24 Questions
Exam 6: AWT Components and Layout Management in Java23 Questions
Exam 7: Java Programming Concepts20 Questions
Exam 8: Java Thread Class, Exception Handling, and Garbage Collection16 Questions
Exam 9: Java Multithreading and Exception Handling25 Questions
Exam 10: Java Programming Language: Inheritance, Interfaces, Packages, and Methods18 Questions
Exam 11: Java Programming : JDBC API, Layout Managers, and Event Handling25 Questions
Exam 12: Java RMI and Swing Framework25 Questions
Exam 13: Java Programming: GUI, RMI, Polymorphism, and String Handling25 Questions
Exam 14: Java Programming:methods, Data Types, Operators, and Classes25 Questions
Exam 15: Java Programming : Event Handling, Exception Handling15 Questions
Select questions type
Which of the following is incorrect statement about packages?
Free
(Multiple Choice)
4.9/5
(27)
Correct Answer:
D
Which of these methods are used to register a keyboard event listener?
Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
C
Which command disassembles a class file
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
D
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)
What is an event in delegation event model used by Java programming language?
(Multiple Choice)
4.9/5
(44)
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)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)