ALL THE BEST!!!
JAVA- EC MADURAI OCT BATCH2 -01ST MARCH 2025
1 / 50
In OOP, a real-world entity is often represented as:
2 / 50
Which graph is used to check for deadlock in Java?
3 / 50
Which of these is not a valid Boolean method in Java?
4 / 50
Which Java method is used to convert an object to a string?
5 / 50
Polymorphism allows us to:
6 / 50
Which of the following inheritance of class is invalid in Java?
7 / 50
An object is an instance of a:
8 / 50
OOP is particularly useful for building:
9 / 50
JDK stands for:
10 / 50
Which OOP principle is used to hide the internal details of an object and only expose what is necessary?
11 / 50
What is boolean in Java?
12 / 50
The 'implements' keyword is used to ________________
13 / 50
The original name of Java was:
14 / 50
Which of the following is a benefit of using OOP?
15 / 50
What will be the output of the following Java code?
public class Main { public static void main(String[] args) { StringBuffer sb = new StringBuffer("include"); sb.append("help"); System.out.println(sb); }}
16 / 50
Null in Java is _____________
17 / 50
Who is known as the father of Java programming language?
18 / 50
What are packages in Java?
19 / 50
Which of the following methods are present in comparator interface?
20 / 50
Which of the following is used to create an object in Java?
21 / 50
Which statement is correct for private member in Java?
22 / 50
In which year was Java first released?
23 / 50
What is a comparator in Java?
24 / 50
When a finally block executed in Java?
25 / 50
In Java, a class can contain:
26 / 50
Which tool in the JDK is used to generate documentation from Java source code?
27 / 50
Can we pass objects to method arguments in Java?
28 / 50
Which of these is a non-access modifier?
29 / 50
What is polymorphism in Java?
30 / 50
Which of the following is NOT an application of OOP?
31 / 50
Empty interface in Java is called?
32 / 50
JVM stands for:
33 / 50
Which of the following correctly defines a class in Java?
34 / 50
Which method in Java is used to check for NaN values?
35 / 50
Java was originally developed by:
36 / 50
Which company currently owns Java?
37 / 50
Which keyword is used to inherit classes in Java?
38 / 50
Batch processing in Java is ______________
39 / 50
Encapsulation is ______________
40 / 50
Which of the following is a correct example of method overloading?
41 / 50
Which of the following is NOT a characteristic of an object?
42 / 50
Which component of JDK compiles Java code into bytecode?
43 / 50
Which of the following is a primitive data type in Java?
44 / 50
Which of the following statements is not correct for vectors inJava?
45 / 50
Which of the following is a function of JVM?
46 / 50
Which of the following ways is the correct way to create an objectin Java?
47 / 50
What is a deadlock in Java?
48 / 50
Enumeration in Java is ______________
49 / 50
Which of the following is a common OOP application in the field of game development?
50 / 50
Which OOP principle helps to reduce redundancy in code by reusing existing classes?