Java Programming -2 Marks
Java Programming -2 Marks
ENGINEERING
(Autonomous)
Karakambadi Road, TIRUPATI – 517507
Unit – 1
1 List the features of java.
2 What is JVM?
3 List the standard data types in java.
4 Differentiate between class and object
5 What is byte code?
Unit – 2
1 What is Inheritance?
2 Is it possible to create for the abstract classes?
3 Write Syntax to create interface.
4 How to create user defined package?
5 How to import the package?
Unit – 3
1 Define Exception?
2 Which one is the super class of all the classes in java?
3 Write a short note on Error?
4 Use of finally block in java?
5 List any three file methods.
Unit – 4
1 What is multithreading
2 Describe the purpose and working of sleep() method
3 Differentiate between process and thread
4 Define Synchronization
5 What are the main differences between array and collection
Unit – 5
1 What is an event and what are the models available for event handling
2 What is the difference between scrollbar and scrollpane
3 What is the lifecycle of an applet
4 What class is the top of the AWT event hierarchy
5 What is the difference between a MenuItem and a CheckboxMenuItem
Prepared by:
Name of the faculty P LAKSHMI
Designation and Department Assistant Professor, Department of CSE