affiliate marketing

Wednesday 6 June 2012

JAVA PROGRAMMING QUESTION BANK PART 3

Unit-3:
2 marks:
1. What is inheritance? What are its types?
2.What is the use of super keyword in java?
3. What is method overloading?
4. What is overriding of methods?
5. What is the need of overridden methods?
6. What is dynamic method dispatch?
7.What is the use of final class in Java?
8. Define an abstract class with suitable examples?
9. What are the characteristics of an abstract class?
10.What is a package? How to define a package?
11. Describe access protection?

12. What are the access specifiers in Java?
13. Explain 4 categories of visibility for class members?
14. How to import a package?
15. What is an interface ? How to define it?
16. How can we access an interface from another interface and how to access from a class?
17. How many interfaces can a class inherit and can a same interface be inherited by 2 different classes? Explain it?
18. What is Exception Handling?
19. What are the fundamental exception types?
20. What is the use of throw & throws clause?
21. What is an uncaught exception?
22. Describe Built in Exception?
23. What is the use of try and catch block in java?
24. Explain nested try statements and multiple catch statements in Java?
25. Give the differences between single, Multilevel & Hierarchial Inheritance?
26. Is there multiple inheritance in Java? If not, whether there is an alternative to implement Multiple inheritance?

Ten Marks

1. Write a Java Program to implement method Overloading and method overriding?
2. What is multiple inheritance and how to perform it in Java?
3. Give a detailed sketch of the differences between Single, Multilevel & Hierarchial Inheritance?
4. Explain Abstract classes with an example program? Also describe the properties of abstract classes?
5. What is a Package? Explain the Packages with an example and how to import packages?
6. Describe interfaces & how to implement it with a Java Program?
7. Explain extending interfaces with a Program & Variables in a Program?
8. Explain the fundamentals of exception Handling and the exception types?
9. Describe Dynamic Method dispatch and the use of final keyword in Java with relevant Programs?
10. Explain Constructor Overloading with an example? Also describe t he usage of super keyword?


No comments:

Post a Comment