Question Bank AOOP
Question Bank AOOP
Question Bank
Branch : CE
Subject : Advanced Object Oriented Programming (4340701)
Unit : 1 : Introduction to Java Programming Language
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?
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.