Questions: 3 Sem A' Sec Object Oriented Programming With JAVA (P18CS36) Assignment - 2
Questions: 3 Sem A' Sec Object Oriented Programming With JAVA (P18CS36) Assignment - 2
3rd Sem ‘A’ Sec Object Oriented Programming with JAVA (P18CS36)
Assignment -2
Qn. Bloom’s Course
No. Questions Level outcome
Define inheritance with an example. Discuss the different
1. L3 CO3
types inheritance supported in Java
Define method overriding. Write a JAVA program to
2. L3 CO3
illustrate method overriding.
Define an interface. Declare an interface with a method to
calculate the volume with one double parameter.
3. L3 CO3
Implement the same for finding the volume of a sphere
and cube by two different classes.
Write JAVA programs to illustrate three uses of keyword
4. final. L3 CO3