Solution to 18CS45 OOC Module 3 Question Bank

Solution to 18CS45 OOC Module 3 Solved Question Bank

Here you can find the solution to the 18CS45 OOC Module 3 Question Bank.

1. Can you overload the constructor and destructor? Justin’ with suitable program. July-17, Marks 6

2. Write a short note on “this” keyword with an example. July-19, Marks 4

3. Explain the Java garbage collector.  July-19, Marks 8

4. Illustrate with an example a superclass variable that can reference a subclass object. Jan.-18, Marks 6

5. Elucidate the concept of inheritance and its classifications in Java with sketches. July-18, Marks 8

6. With an example, give two uses of super.  July-17, Marks 5

7. Write short notes on the “super” keyword, with an example.  July-19, Marks 4

8. When constructors are called in the class hierarchy? July-17, Marks 4

9. Define inheritance. Explain multilevel hierarchy with an example program. Jan.-19, Marks 5

10. Compare and contrast method overloading and method overriding with suitable examples. July-17, Marks 6, Jan.-18, Marks 5, Jan.-19, Marks 4

11. Discuss the following terms with examples: i) super ii) final.  Jan.-19, Marks 8

12. Define exception. Write a program that contains one method which will throw IllegalAccessException and use proper exception handlers so that exception should be printed. July-17, Marks 6

13. Give the basic form of an exception handling block.  Jan.-18, Marks 8

14. Define the role of exception in software development.  July-18, Marks 2

15. Define exception. Explain the exception handling mechanism with an example.  Jan.-19, Marks 8

16. Explain exception handling with a suitable code. July-19, Marks 8

The solution to 18CS45 OOC Module 1 Solved Question Bank

The solution to 18CS45 OOC Module 2 Solved Question Bank

The solution to 18CS45 OOC Module 3 Solved Question Bank

The solution to 18CS45 OOC Module 4 Solved Question Bank

The solution to 18CS45 OOC Module 5 Solved Question Bank

18CS45 Object-Oriented Concepts VTU CBCS Notes

Summary:

This article provides the solution to the 18CS45 OOC Module-3 Solved Question. If you like the tutorial share it with your friends. Like the Facebook page for regular updates and YouTube channel for video tutorials.