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 the purpose of garbage collection and when is the garbage collector used during program execution?
In Java parameter passing, what do pass by value and pass by reference mean, and how does Java actually pass arguments to methods?
In Java GUI development, what is the difference between AWT and Swing, and why is Swing generally preferred for modern desktop applications?
In Java multithreading, what is synchronization and why is it important when multiple threads access shared data?
In core Java, what are wrapper classes and why are they used for primitive data types?
In Java multithreading, what is the purpose of the wait(), notify(), and notifyAll() methods on an object's monitor?
In Java, what is a top level class and how does it differ from nested or inner classes?
In Java, what is a static member class (static nested class) and how does it differ from a non static inner class?
In Java, what is a non static member class (inner class) and how is it related to its enclosing instance?
In Java, what is a local class and where can it be declared inside a program?
In Java, what is an anonymous class and when would you typically use one?
In Java, what is the basic syntax to create an object and assign it to a reference variable of a class?
In Java, how do you assign the address (reference) of one object to another reference variable of the same type?
In Java, why can a static method not directly call a non static method of the same class without using an object reference?
In Java, what is stored in the this reference inside an instance method or constructor?
In a Java non static method, when is it compulsory to use this.fieldName to access a non static data member?
In Java, what is the difference among public, protected and package access data members?
In Java classes, how can we set the value of a private data member safely?
In Java classes, how can we read or get the value of a private data member from outside the class?
In Java, what is the difference between methods and initializer or code blocks?
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