Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Technology Questions
In Java, can you compile a source program file that does not contain a main method, and what is the consequence?
In Java, what are the key restrictions and rules that apply when overriding a method in a subclass?
In Java, what is the difference between PATH and CLASSPATH environment settings and what does each one control?
In Java, what is the impact of declaring a method as final in a class?
In Java, what is a static initializer block and when is it executed during the life cycle of a class?
In Java exception handling, how does a try statement decide which catch block will handle a thrown exception?
In Java, what are the two main ways to create a new thread of execution?
In Java multithreading, what is the difference between creating a thread by extending Thread and by implementing Runnable, and which is generally preferred?
In Java, what is a Thread and what does it represent inside a running program?
In Java, what do the access modifiers private, protected, and public mean in terms of where a member can be accessed?
In Java, if a method is declared as protected, where can that method be accessed from?
In Java, what is the difference between method overriding and method overloading in terms of signature, class relationship, and runtime behavior?
In Java, what is a classloader and what role does it play in the Java Virtual Machine?
In the following Java code, what will be printed to the console? Object s1 = new String("Hello"); Object s2 = new String("Hello"); if (s1 == s2) { System.out.println("s1 and s2 are =="); } else if (s1.equals(s2)) { System.out.println("s1 and s2 are equals()"); }
In Java, what is JDBC and what problem does it solve in database programming?
In Java JDBC, what is DriverManager and what responsibility does it have in managing database connections?
In JDBC, what is a ResultSet and how is it used to access the rows returned by a SQL query?
In JDBC, which set of driver types correctly lists the four standard categories of JDBC drivers?
In classic JDBC, what is true about the thread safety and multithreading support of the JDBC ODBC bridge driver?
In Java object oriented design, what is the difference between an interface and an abstract class, and when would you use each?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79