Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
15 views

Object Oriented Programming With Java - Question Bank

The document outlines important questions for the MCA I Semester course on Object Oriented Programming with Java, organized by units. Each unit covers key concepts such as the need for OOP, constructors, polymorphism, exception handling, threading, event handling, applets, and user interface controls. Example programs are requested to illustrate various concepts throughout the units.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Object Oriented Programming With Java - Question Bank

The document outlines important questions for the MCA I Semester course on Object Oriented Programming with Java, organized by units. Each unit covers key concepts such as the need for OOP, constructors, polymorphism, exception handling, threading, event handling, applets, and user interface controls. Example programs are requested to illustrate various concepts throughout the units.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PRAKASAM ENGINEERING COLLEGE (AUTONOMOUS)

MCA I Semester
Object Oriented Programming with JAVA
Unit wise Important Questions
Unit-1
1) What is need of Object Oriented Programming? How Object oriented Programming different
from procedural oriented programming?
2) Explain the following terms :
a) Agents
b) Responsibility
c) Messages
3) Explain classes and objects with example program.
4) What is a constructor? What are special characteristics of constructors? Explain default,
parameterized constructors with example program.
5) Explain constructor overloading with example program.
6) Explain method overloading with example program.
7) Explain following with examples:
a) this keyword
b) Garbage Collection

UNIT-2

1) Explain Super keyword and its advantages with example program.


2) Explain abstract classes and abstract methods with example program.
3) What is polymorphism? Explain different types of polymorphism with example programs.
Compile time polymorphism or static binding : Method Overloading
Runtime polymorphism / Dynamic binding / Dynamic method dispatch : Method
overriding
4) Explain usage of final keyword. (final variables, final methods and final classes)
5) What is multiple inheritances? Explain implementation of multiple inheritance with example
program.
6) What are Packages? Explain creating and using packages with example program.

UNIT-III Read all Questions from this UNIT

1) What is an Exception? What are keywords used to handle exception? Explain briefly with
example program.
2) Explain multiple catch blocks with example program.
3) Explain the keyword throw with example program.
4) Explain user defined exceptions with example program.
5) What is Thread? What are differences between multithreading and multitasking and also
explain life cycle or different states of a thread.
6) Explain different ways of creating threads with example programs. ( Using Thread class and
Using Runnable interface)
7) Explain Thread Synchronization with example program.

UNIT – IV

1) Explain the following :


a) Event sources
b) Event Listeners
c) Delegation Event Model
2. Write a java or an applet program to handle MouseEvent.
3. Write a java or an applet program to handle KeyEvent
4. Explain adapter classes and anonymous inner classes with example program.
5. Explain the following AWT User Interface controls:
a) Button
b) Checkbox

UNIT – V

1) What is an applet? What are different types of applet? What are differences between
applets and standalone java programs?
2) Explain Life cycle methods of an applet with example program.
3) Explain passing parameters to applets.
4) What are differences between swings and AWT?
5) Explain the following Swings User Interface Controls :
a) Tabbed Pane
b) ScrollPane
c) Jtable

You might also like