ALL THE BEST!!!
JAVA-CHENNAI-15THJULY24
1 / 50
Which of the following is false?
2 / 50
Object in java are __________
3 / 50
Which method is used to convert radians to degree in Java?
4 / 50
The super() method is used to _____________
5 / 50
Which class in Java is used to take input from the user?
6 / 50
Which method in java is used to read lines fromfile?
7 / 50
Method used to take a string as input in Java?
8 / 50
Which Java method is used to clear the element of ArrayList?
9 / 50
Which Java method is used to detect the OS in which the Java program is being run?
10 / 50
In which memory a String is stored, when we create a string using new operator?
11 / 50
Static variables in java are declared as __________________
12 / 50
Multiline comment is created using ________________
13 / 50
Which syntax is valid to create a vector in java?
14 / 50
Which of the following methods is used to extract the length of a stringin Java?
15 / 50
The correct syntax to import the math library in Java is ______________
16 / 50
What is the default encoding of OutstreamWriter?
17 / 50
Which of the following is a valid data structure in java?
18 / 50
Which method in java is used to generate randomnumbers in Java?
19 / 50
What is stringBuffer in Java?
20 / 50
What is a comparator in Java?
21 / 50
What is a deadlock in Java?
22 / 50
JDK stands for _________________
23 / 50
What is type casting in Java?
24 / 50
Which keyword in Java is used for exception handling?
25 / 50
Wrapper class in java is ___________.
26 / 50
Multithreading in java is _______________
27 / 50
Which of the following can be declared as final in java?
28 / 50
Abstract class is ____________
29 / 50
Which Java method is used to convert an object to a string?
30 / 50
Array in Java is ______________
31 / 50
Which method deletes a file in Java?
32 / 50
The break statement in Java is used to ______________
33 / 50
What will be the output of the following Java code?
public class Main {public static void main(String[] args) {String str = "Hello" ;str = "Bye";
System.out.println(str);}}
34 / 50
What is garbage collection in Java?
35 / 50
Can the main() method be overloaded in Java?
36 / 50
Encapsulation is ______________
37 / 50
Can we keep a different name for the java class name and java filename?
38 / 50
What are the types of memory allocated in memory in java?
39 / 50
public class Main {public static void main(String[] args) {System.out.println(Math.copySign(100.6, -200.6));}
40 / 50
Which of these is the correct method to create an array in java?
41 / 50
What is the use of the intern() method?
42 / 50
Can the Java program accept input from the command line?
43 / 50
The 'super' keyword is used to ______________
44 / 50
Which of the following methods are present in comparator interface?
45 / 50
What is the entry point of a program in Java?
46 / 50
Can we write a program without a main method in Java?
47 / 50
Boxing is __________.
48 / 50
Which of these is a type of variable in Java?
49 / 50
What is meant by the classes and objects that dependents on each other?
50 / 50
Which of the following statements is not correct for vectors inJava?