Вы находитесь на странице: 1из 1

CS8392 – OBJECT ORIENTED PROGRAMMING

QUESTION BANK
UNIT-I
1. What is Class and Object in Java?
2. Define Access Specifier
3. What is Constructor? How will you invoke it?
4. Define array. How will you implement array in java?
5. List out the types of operators?
6. Explain the characteristics of OOP(6)
7. Explain the Features and characteristics of java (7)
8. What is Method? How method is defined?(6)
9. State the purpose of finalize method. Explain it with an example(7)
10. Write a java program to create a class for student to store name, 6 subject marks and average. Read
Inputs, find average. and print the mark sheet (If average>8.5 then print FWD, >6.5 print FC, else print
SC) (14)
11. With suitable example explain how packages can be created, imported and used. Also elaborate on its
scope (14)
UNIT-II
1. List out the types of Inheritance in Java
2. State the merits of Inheritance
3. What is the use of super Keyword & method?
4. What is Abstract Class?
5. What is Interface? State the Merits of Interface
6. Define Inheritance. With Diagrammatic illustration and Java program explain the different types of
inheritance(13)
7. How will you implement the Interface in java (6)
8. Discuss in detail about String Handling functions(7)
9. What is meant by object cloning? Explain it with an example (7)
10. Explain about inner classes and its types with examples (7)
UNIT-III
1. List out various built in exceptions
2. What is run time exception?
3. Define Stream. State its types
4. Define Class Hierarchy
5. Differentiate throw & throws Keyword
6. Explain in detail about Exception Handling in Java with example (13)
7. Write a Java program to handle File I/O Operations (13)
8. What are Input and Output streams? Explain them in detail (14)
UNIT-IV
1. Differentiate Multitasking and Multithreading
2. What is Generic Class?
3. What are the states of thread?
4. What is the need for thread synchronization?
5. Define Thread Daemon
6. Explain the Life Cycle of Threads in java (13)
7. How will you create threads in java? Explain it with example programs (13)
8. Explain in detail about thread synchronization & Inter thread Communication (13)
UNIT-V
1. What is meant by window adapter class?
2. Enumerate the features of AWT
3. What is Event Handling?
4. Define Applet and state its lifecycle
5. List out the layout managers
6. State and explain the basis of AWT Event handling in detail (13)
7. Explain the Life Cycle of Applet in java and create a small applet to draw a rectangle, ellipse and string
(13)
8. Describe in detail about the layout managers in java GUI. Which layout is the default one (14)

Вам также может понравиться