Exam 3: Java Programming: Data Types, Inheritance, Interfaces, Packages, and Exception Handling
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 these access specifiers can be used for an interface?
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
A
The keyword used to create a package is
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
B
Which of these keywords is not a part of exception handling?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
C
Which of this access specifies can be used for a class so that its objects can be created by a different class in another package?
(Multiple Choice)
4.7/5
(36)
Which of these keywords must be used to monitor for exceptions?
(Multiple Choice)
4.9/5
(40)
Which of these is a mechanism for naming and visibility control of a class and its content?
(Multiple Choice)
4.8/5
(46)
Which of these classes is related to all the exceptions that can be caught by using catch?
(Multiple Choice)
4.9/5
(37)
Which of these method of class String is used to obtain length of String object?
(Multiple Choice)
4.9/5
(36)
Which of these is used as default for a member of a class if no access specifier is used for it?
(Multiple Choice)
4.8/5
(44)
Which of these classes is related to all the exceptions that cannot be caught?
(Multiple Choice)
4.8/5
(36)
Which of these method of class String is used to extract a single character from a String object?
(Multiple Choice)
4.8/5
(34)
Which of the following is correct way of importing an entire package 'pkg'?
(Multiple Choice)
4.7/5
(41)
A primitive data type can be passed as an argument into a method
(Multiple Choice)
4.9/5
(40)
Which of the following is incorrect statement about packages?
(Multiple Choice)
4.7/5
(33)
Which of the following is correct way of implementing an interface salary by class manager?
(Multiple Choice)
4.9/5
(35)
The code within the ----------- block will always be executed whether or not an exception is thrown.
(Multiple Choice)
4.8/5
(43)
Which of these is correct way of inheriting class A by class B?
(Multiple Choice)
4.7/5
(36)
Which of these keywords is used to manually throw an exception?
(Multiple Choice)
4.8/5
(40)
Which of these can be used to fully abstract a class from its implementation?
(Multiple Choice)
4.9/5
(36)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)