Exam 2: Java Object-Oriented Programming
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 is the keyword used to inherit a class to another?
Free
(Multiple Choice)
5.0/5
(28)
Correct Answer:
B
The method sqrt() is defined in the class
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
C
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.
Free
(Multiple Choice)
4.7/5
(42)
Correct Answer:
A
Which method defined in Integer class can be used to convert a whole number in string type to primitive int type.
(Multiple Choice)
4.9/5
(36)
Identify the type of inheritance when two or more subclasses inherit the properties of a super class.
(Multiple Choice)
5.0/5
(35)
The keyword used inside a class to refer to its immediate super class is
(Multiple Choice)
4.8/5
(44)
If a class inheriting an abstract class does not define all of its function then it will be known as?
(Multiple Choice)
4.9/5
(39)
Which of these keywords are used to define an abstract class?
(Multiple Choice)
4.8/5
(46)
Which of the following is true in the case of abstract class
(Multiple Choice)
4.9/5
(31)
Which of the following is a valid declaration of an object of class Box?
(Multiple Choice)
4.8/5
(37)
Which of these access specifiers must be used for main() method?
(Multiple Choice)
4.8/5
(36)
Which of the following is a method having same name as that of its class?
(Multiple Choice)
4.9/5
(34)
Which operator is used by Java run time implementations to free the memory of an object when it is no longer needed?
(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 24
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)