Question Bank
Question Bank
26/11/2019,
24/12/2021
2 Define 1
Garbage Collection 26/11/2019,
24/12/2021,
09/02/2021
3 7
Explain use of break and continue 26/11/2019
with proper example.
4 7
What is constructor? Explain various 26/11/2019
types of constructor in details.
5 7 17/09/2021
Explain importance of constructor.
Discuss the overloading of methods
and constructors with suitable java
program code.
6 7
What is method overloading? Explain 26/11/2019,
with example.
09/02/2021
7 7
How nested class and inner class are 26/11/2019
helpful in java? Explain with example.
8 7 17/09/2021
What do you understand by
anonymous Inner class? What is the
significance of this class in java
program?
9 1
Define 24/12/2021,
variable
shadowing 09/02/2021
Or
Shadowing Variable
10 7
Why Java is a platform independent 24/12/2021
language? How Java achieve this?
11 7
Explain conditional and bitwise 24/12/2021
operator with suitable example.
12 3
24/12/2021,
Explain different access specifier/
access modifiers used in java 04-11-2020,
17/09/2021
13 4
4
Explain the difference between the marks24/12/2
variable of primitive data types and 021,
reference data type with java code.
7 marks
17/09/2021
14 7
Write a java program to create a class 24/12/2021
“Matrix” that would contain integer
values having varied Numbers of
columns for each row. Print row-wise
sum of the integer values for each
row.
15 Define 1.
5 24/12/2021
Overloadin
g
19 1
09/06/2022
Overloading of a constructor is not
allowed in Java. (T/F)
20 1
09/06/2022
________________is super class of all
classes in JAVA.
21 03
09/06/2022
What is the difference between “Pass
by value” and “Pass by reference”
in java?
22 04
09/06/2022
What is the difference between
“static” and “final”
23 07
Explain the use of instance variables, 09/06/2022
instance methods, constructor and
initializer block with appropriate
example.
24 What is inner class? How can outer class 07
reference be accessed inside inner class? 09/06/2022
Write the use of inner class using suitable
example.
25 Define 1
09/02/2021
Byte code
26 Define 1 09/02/2021,
Polymorphis 17/09/2021
m
27 1 09/02/2021
“this” keyword
28 7 09/02/2021
Explain any two of followings with the
help of example.
1. If….else if…..else
2. Switch case
3. While loop
29 7 09/02/2021(7
Explain static block and class initialize marks)
block with example.
30 1 17/09/2021
Static Initializer Block
31 7 09/02/2021
Why Java’s main () method is public,
static and also has one argument?
32 4 09/02/2021,
Explain final and static keyword with Static 3.5
example. 04-11-2020
33 1
04-11-2020
_______ is the base class of all classes
in java.
34 1 04-11-2020
______ method is called by the
garbage collector just before
deallocation of an instance
35 1 04-11-2020
36 1 04-11-2020
37 7 04-11-2020
Explain Java Buzzwords in
detail.
38 07 04-11-2020
Explain constructor and this keyword
in java by giving a suitable example.
39 3. 04-11-2020
Explain Garbage Collection in java by 5
giving a suitable example.
40 Bytecode 1
17/09/2021
41 7 17/09/2021
Explain the features of Java
Programming Language