0% found this document useful (0 votes)
11 views1 page

Java Assignment 3

This document is an assignment for the 2nd semester of the Master of Computer Applications course at the East West Institute of Technology. It outlines various programming questions related to Java, including topics such as the final keyword, Object class methods, hybrid inheritance, abstract classes, and polymorphism. The assignment is due on 30/06/2025 and has a maximum score of 10 marks for each question.

Uploaded by

keerthiap2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Java Assignment 3

This document is an assignment for the 2nd semester of the Master of Computer Applications course at the East West Institute of Technology. It outlines various programming questions related to Java, including topics such as the final keyword, Object class methods, hybrid inheritance, abstract classes, and polymorphism. The assignment is due on 30/06/2025 and has a maximum score of 10 marks for each question.

Uploaded by

keerthiap2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like