Java Important Questions
Unit-wise important questions for examination preparation
📖 Need Answers for these Questions?
View Java Answers →
I
Unit – I
1
Explain Various Features in Java?
2
Explain steps to create and execute Java
program with an example?
3
Explain the following:
Data Types
Control Statements
4
Explain method overloading with an example program?
5
What is constructor? Explain Constructor types
and constructor overloading?
6
Explain Class, Objects, Methods with example program?
II
Unit – II
1
What is an array? Explain types of arrays
with example program?
2
Explain the concept of command line arguments?
3
What is inheritance? Explain types of inheritance
with example?
4
Explain method overriding with example program?
5
Explain the concepts of Abstract class, Interfaces?
6
What is package? How to create a user defined
package with example?
7
What is exception? Explain exception handling
with an example program?
III
Unit – III
1
What is thread? Explain various ways to create threads?
2
Explain Thread lifecycle with example program
and diagram?
3
Explain FileInputStream and FileOutputStream
with example?
4
Explain BufferedInputStream and
BufferedOutputStream with example program?
5
Explain Random Accessing of a file with
example program?
6
Explain File Class and its methods with
example program?
IV
Unit – IV
1
What is an applet? Explain its life cycle?
2
What is AWT? Explain AWT Components,
Containers in Java?
3
What is layout manager? Explain types of
layout managers in Java?
4
What is Swing? Explain JFrame, JApplet,
JPanel by giving an example?
5
What is Dialog box in Swing? Explain types
of dialog boxes?
6
Explain Different types of Database drivers?
7
Explain steps involved in developing a program
to access database in Java?
JDBC Connectivity
8
Explain Event Handling Mechanism in Java?
