Questions List
Browse all explanatory questions of this chapter.
1
What is static block?
2
Can a constructor be made final?
3
What is the purpose of default constructor?
4
What is the difference between object oriented programming language and object based programming language?
5
Define JIT compiler?
6
What is a WAR file?
7
What is JAR file?
8
Define JRE i.e. Java Runtime Environment?
9
Explain the following line used under Java Program ? public static void main (String args[ ])
10
Difference between throw and throws?
11
What is Comparable Interface?
12
Explain TreeSet?
13
Explain Set Interface?
14
Explain the usage of this() with constructors?
15
Define immutable object?
16
Explain garbage collection in Java?
17
An applet extend which class?
18
What is an applet?
19
What are the two ways in which Thread can be created?
20
What do you mean by Multi-threaded program?
21
Why Packages are used?
22
What is the primary benefit of Encapsulation?
23
What is protected access modifier?
24
What do you mean by Access Modifier?
25
What is a static variable?
26
When a byte datatype is used?
27
What is the default value of float and double datatype in Java?
28
What is the default value of byte datatype in Java?
29
List the three steps for creating an Object for a class?
30
What do you mean by Constructor?
31
What is Singleton class?
32
What is a Class Variable?
33
What is a Instance Variable?
34
What is a Local Variable?
35
What kind of variables a class can consist of?
36
Define class?
37
What do you mean by Object?
38
List some Java keywords(unlike C, C++ keywords)?
39
List two Java IDE's?
40
What is a source program?
41
What is a high-level programming language?
42