Exam 14: Java Programming:methods, Data Types, Operators, and Classes
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 exceptions will be thrown if we use null reference for an arithmetic operation?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
B
Which of these class is a superclass of all other classes?
Free
(Multiple Choice)
5.0/5
(33)
Correct Answer:
D
Which keyword is used by the method to refer to the object that invoked it?
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
D
Which of these method(s) is/are used for writing bytes to an outputstream?
(Multiple Choice)
4.9/5
(47)
Which of these methods of a Thread class is used to suspend a thread for a period of time?
(Multiple Choice)
4.8/5
(38)
Which of the interface contains all the methods used for handling thread related operations in Java?
(Multiple Choice)
4.8/5
(38)
Which of these operators is used to allocate memory for an object?
(Multiple Choice)
4.9/5
(38)
Which of the below is invalid identifier with the main method?
(Multiple Choice)
4.8/5
(41)
Which of this method of class String is used to obtain a length of String object?
(Multiple Choice)
4.9/5
(38)
What is the string contained in s after following lines of code?
StringBuffersnewStringBuffer("Hello");S)deleteCharAt(0);
(Multiple Choice)
4.9/5
(39)
Which of these class is not related to input and output stream in terms of functioning?
(Multiple Choice)
4.8/5
(34)
Which of these data type can be used for a method having a return statement in it?
(Multiple Choice)
4.8/5
(32)
Which of these selection statements test only for equality?
(Multiple Choice)
4.9/5
(28)
Which of these classes is used for input and output operation when working with bytes?
(Multiple Choice)
4.8/5
(31)
Which of these jump statements can skip processing the remainder of the code in its body for a particular iteration?
(Multiple Choice)
4.8/5
(31)
If an expression contains double, int, float, long, then the whole expression will be promoted into which of these data types?
(Multiple Choice)
4.8/5
(35)
Which of these is the method which is executed first before execution of any other thing takes place in a program?
(Multiple Choice)
4.9/5
(35)
Which of these can not be used for a variable name in Java?
(Multiple Choice)
4.8/5
(24)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)