EAST WEST INSTITUTE OF TECHNOOGY
(An Autonomous Institute under VTU)
Assignment – III
Dept. of Master of Computer Applications Academic Year: 2024– 25/ ODD
Course Title: Programming using Java Course Code: PMCAC22 Sem: 2nd Semester
Module: 3rd Module Date: 26/06/2025 Date of submission: 30/06/2025
Name of the Course Instructor: Prof. Sheethal P P Max Marks: 10
Instructions: Write your answers neatly and legibly. Answer to the point. USE A4 size white unruled sheets ONLY.
Assignment Questions Marks* RBT CO
Q. No.
Explain the role of the final keyword in preventing inheritance and overriding 10 L3 CO2
1
with syntax and example.
Discuss the purpose and functionality of the Object class methods like toString() 12 L2 CO1
2
and hashCode() with examples.
3 Illustrate the working of hybrid inheritance using interface and class combinations 8 L3 CO2
in Java.
4 Explain how multiple inheritance is implemented in Java using interfaces. Give a 8 L2 CO1
program example.
5 Discuss in detail the concept of abstract classes and methods in Java. Write a 10 L2 CO1
sample program to show their usage.
Write a Java program demonstrating interface-based multiple inheritance.
6 Explain each step. 10 L2 CO1
7 Compare and contrast compile-time and runtime polymorphism in Java. Provide 10 L1 CO3
examples and output.
8 Discuss the characteristics and uses of the final keyword in Java with suitable 10 L2 CO1
examples.
*This is the actual marks for the question that appears in your Internal Assessment/SEE. This will prepare
you for your SEE.
Course Instructor HOD