0% found this document useful (0 votes)
7 views

Java Programming -2 Marks

This document is a question bank for the Java Programming course at SRI Venkateswara College of Engineering, detailing 2-mark questions organized by units. It covers various topics including Java features, inheritance, exceptions, multithreading, and event handling. The document is prepared by faculty member P Lakshmi, Assistant Professor in the Department of CSE.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Java Programming -2 Marks

This document is a question bank for the Java Programming course at SRI Venkateswara College of Engineering, detailing 2-mark questions organized by units. It covers various topics including Java features, inheritance, exceptions, multithreading, and event handling. The document is prepared by faculty member P Lakshmi, Assistant Professor in the Department of CSE.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SRI VENKATESWARA COLLEGE OF

ENGINEERING
(Autonomous)
Karakambadi Road, TIRUPATI – 517507

Question bank - 2 Marks Questions

Name of the Branch/Course ECE/B.Tech

Subject Java Programming


Subject Code CS20AOE602
Year & Sem III Year & II Sem

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

Signature of the Faculty Signature of the HOD

You might also like