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, what is a constructor and why is it used to initialize objects?
In Java, how do you call or invoke a parameterized (argument) constructor?
In Java, what is the difference among String, StringBuffer and StringBuilder classes?
In Java, what is wrapping in the context of wrapper classes and primitive types?
In Java, what is unwrapping (unboxing) in the context of wrapper classes and primitive types?
In Java, what is a JAR file and what are the main uses of JAR archives?
In Java, what is the difference between PATH and CLASSPATH environment variables?
In Java, what is the use of the super call and when do we apply the super keyword?
If a superclass reference points to a subclass object in Java, can we call subclass specific methods using that superclass reference?
In object oriented Java, what is the use and benefit of method overriding?
In object oriented Java, what is the use and benefit of method overloading?
In Java, what is a final method and how does it affect inheritance and overriding?
In Java, what is the purpose of overriding the toString() method of the Object class?
In Java, why and when should we override the finalize() method?
In Java, what is the use of the toString() method when it is called on an object?
In Java, why do we use the protected access modifier and where is a protected member visible?
In Java object-oriented programming, what is an abstract method and how is it represented in a class or interface?
In Java, why are fields declared in an interface implicitly static and shared across all implementing classes?
In Java, why are fields declared in an interface implicitly final (constant values that cannot be reassigned)?
In Java, why are fields declared in an interface implicitly public and visible to all implementing classes and clients?
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