Welcome to your JAVA SET - 1
1.
In which memory a String is stored, when we create a string using new operator?
2.
Which of these is true for interfaces in java?
3.
Which Java method is used to convert an object to string?
4.
Which of the following is not a Java features?
6.
Which of the following is a marker interface?
8.
What is the use of the intern() method?
9.
BigInteger Class is used to ___.
10.
Which of the following option leads to the portability and security of Java?
11.
What will be the output of following Java code?
13.
Which of the following is a reserved keyword in Java?
14.
Which method in Java is used to check for NaN values?
15.
Which thread is executed in the background?
16.
Multithreading in java is ___.
17.
What are the types of memory allocated in memory in java?
18.
What is garbage collection in java?
19.
.What should be the execution order, if a class has a method, static block, instance block, and constructor, as shown below?
21.
What is a comparator in Java?
22.
Which of these is a property of threads in Java?
23.
What makes the Java platform independent?
24.
What will be the output of the following program?
25.
Static variables in java are declared as ___.