Java Iia Question Bank 24-25
Java Iia Question Bank 24-25
Question Bank-II
5. What is abstract class and abstract method? Explain with an example. 8M L2 CO3
6. Illustrate the usage of super keyword in Java with suitable 10M L2 CO3
example.Also explain the Dynamic dispatch method?
7. Develop a Java program to create a class named “Shape”.Create 3 10M L6 CO3
sub classes namely Circle,Triangle and Square; Each class has two
methods named draw() and erase().Demonstrate Polymorphism
concepts by developing suitable methods and main program.
MODULE 4
8. Define package. Explain the steps involved in creating a user-defined 5M L2 CO4
package with an example.
9. Explain the concept of importing packages in Java and provide an example L2 CO4
7M
demonstrating the usage of the import statement.
10. Demonstrate the working of a nested try block with an example. 5M L2 CO4
Course Outcomes
CO3- Apply the concepts of inheritance and interfaces in solving real world problems
CO4- Use the concept of packages and exception handling in solving complex problem