Welcome to your JAVA SET - 3
1.
Which of the following ways is the correct way to create an object in Java?
2.
What will be the output of following Java code?
3.
Which of the following sorts the elements were inserted?
4.
Wrapper class in java is ___.
5.
Method used to take a string as input in Java?
6.
Which of the following is the correct syntax to create a variable in Java?
7.
Abstract class is ___.
9.
Batch processing in java is ___.
10.
"Evaluate the following Java expression, if x=3, y=5, and z=10: ++z + y - y + z + x++"
11.
Given that Student is a class, how many reference variables and objects are created by the following code?
12.
Which of the following is a valid syntax to synchronize the HashMap?
13.
What is file handling in java?
14.
What does the expression float a = 35 / 0 return?
16.
Which of the following is a valid long literal?
17.
How can we access methods for file handling in java?
18.
Which of the given methods are of Object class?
19.
What will be the output of the following program?
20.
What is a set in Java?
21.
Which of these is a type of variable in Java?
22.
What is the use of \w in regex?
23.
What is a map in Java?
24.
Enumeration in Java is ___.
25.
What will be the output of following Java code?