0% found this document useful (0 votes)
65 views2 pages

Question Bank AOOP

Uploaded by

pjp
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)
65 views2 pages

Question Bank AOOP

Uploaded by

pjp
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/ 2

Apollo Institute of Engineering and Technology

Question Bank
Branch : CE
Subject : Advanced Object Oriented Programming (4340701)
Unit : 1 : Introduction to Java Programming Language

1. What is Java explain the features and applications of Java?


2. What are the components of Java?
3. How many data types are primitive in Java? Explain it with example.
4. What is an identifier variable and constant in Java?
5. What is type conversion and type casting in Java?
6. What is scope of variables in Java?
7. What is an array explain one-dimensional and two-dimensional array with example?
8. What are the operators in Java? Explain it with suitable example.
9. Explain decision statement and its types in Java with suitable example.
10. Give brief introduction about jump statements in Java with example.

Unit : 2 : Object Oriented Programming Concepts

1. Differentiate between POP and OOP. (Min. 7points)


2. List Object Oriented programming concepts. Explain them in detail.
3. Define classes, fields and methods, creating objects.
4. Which are the access modifiers. Explain each one with example.
5. Define This Keyword, Static Keyword and Final Keyword.
6. What is Constructors? Write down the different Constructor.
7. Write a program of Default constructor and parameterized constructor.
8. What is copy constructors? Write a program of it.
9. Write down the difference between of method overloading vs method overriding.
10. Explain wrapper class and also write the method of wrapper class.

Unit : 3 : Inheritance, Packages & Interfaces

1. What are the various types of inheritance in Java explain with examples?
2. What is use of method overriding?
3. Explain following methods in Java :
i) equals()
ii) toString()
iii) finalize()
iv) hashCode()

1
4. How do you define an interface in Java?
5. How interfaces solve the problem of multiple inheritance in Java? Explain it with suitable
example.
6. What is the difference between abstract class and final class?
7. How packages are created and import in Java? Give proper example.
8. What are the different access control for packages in Java?

Unit : 4 : Exception Handling & Multithreading


1. What are syntax errors, runtime errors and logic errors?
2. Explain Exception Handling in Java with suitable example.
3. How try and catch works? Explain it and give appropriate example.
4. How do you use multiple catch blocks in Java.
5. What is difference between throw and throws in Java?
6. What are the advantages of exception handling in Java?
7. How to create user defined exception in Java? Give example.
8. What is multithreading in Java with real time example?
9. Explain the life cycle of a thread in Java?
10. How can you catch an exception thrown by another thread in Java? Give example.

Unit : 5 : File Handling and Collections Framework

1. Describe basics of streams, stream classes, creation, reading and writing files in context
to file handling.
2. Describe Collections framework in detail.
3. What are the different stream classes and explain them in detail.
4. Explain in detail what is an Array list and LinkedList. Write programs using Array List
and LinkedList.
5. What is Map class? Explain it and Write a programs of Map classes.

You might also like