Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Technology Questions
Which of the following method declarations are allowed inside interface?
Why interface method is always public?
Which among the following is a scope resolution operator?
Which kind of inheritance is not supported directly through classes in java?
public class Threads2 implements Runnable { public void run() { System.out.println("run."); throw new RuntimeException("Problem"); Which among the following is true? } public static void main(String[] args) { Thread t = new Thread(new Threads2()); t.start(); System.out.println("End of method."); } }
public abstract class Shape { private int x; private int y; public abstract void draw(); public void setAnchor(int x, int y) { this.x = x; this.y = y; } } Which two classes use the Shape class correctly?
public abstract class Shape { private int x; private int y; public abstract void draw(); public void setAnchor(int x, int y) { this.x = x; this.y = y; } } Which two classes use the Shape class correctly?
X implements Y, Z Arguments: 1. X should be class 2. Y, Z should be interfaces
What is a class, member and local variable?
What is JDBC Driver ?
What are the steps required to execute a query in JDBC?
What is the difference between a constructor and a method?
What is an abstract class?
How will you define an abstract class?
What is the difference between array and ArrayList ?
What is diamond problem?
What is the security mechanism used in java?
What is encapsulation?
What is inheritance?
Can we compile a java program without main?
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