0% found this document useful (0 votes)
125 views2 pages

Java Iia Question Bank 24-25

Uploaded by

Maadhu Avati
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)
125 views2 pages

Java Iia Question Bank 24-25

Uploaded by

Maadhu Avati
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/ 2

SRI SRINIVASA EDUCATIONAL & CHARITABLE TRUST®

SAPTHAGIRI COLLEGE OF ENGINEERING


(Affiliated to Visvesvaraya Technological University, Belagavi& Approved by AICTE, New Delhi.)
(Accredited by NAAC with ‘A’ Grade)
(ISO 9001-2015 & 14001-2015 Certified)
#14/5, Chikkasandra, Hesaraghatta Main Road, Bengaluru– 560 057.
Department of Computer Science & Engineering
Accredited by NBA

Question Bank-II

Subject: OBJECT ORIENTED PROGRAMMING WITH JAVA Sub Code: BCS306A


Semester: III A & B

Q No. MODULE 3 Marks BLT CO’s

1. Write a Java program to implement multilevel inheritance with 3 levels of 8M L2 CO3


hierarchy.

2. Explain how an interface is used to achieve multiple Inheritances in Java. 8M L2 CO3

3. Compare and contrast method overloading and method overriding 5M L2 CO3


with suitable example

4. Define inheritance and List the different types of inheritance in 5M L2 CO3


Java.

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

11. Define Exception.Explain Exception handling mechanism provided 5M L2 CO4


SRI SRINIVASA EDUCATIONAL & CHARITABLE TRUST®
SAPTHAGIRI COLLEGE OF ENGINEERING
(Affiliated to Visvesvaraya Technological University, Belagavi& Approved by AICTE, New Delhi.)
(Accredited by NAAC with ‘A’ Grade)
(ISO 9001-2015 & 14001-2015 Certified)
#14/5, Chikkasandra, Hesaraghatta Main Road, Bengaluru– 560 057.
Department of Computer Science & Engineering
Accredited by NBA

in java along with the syntax and Example.


12. Build a Java program to create a Package ‘balance’ containing 10M L2 CO4
Account class with displayBalance( ) method and import this
package in another program to access method of another class.
13. Examine the various level of access protections available for 5M L3 CO4
packages.

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

Blooms Taxonomy: L1-Remembering L2-Understnd L3-Apply L4-Analyzing L5-Evaluating L6-


Creating

Course Coordinator Module Coordinator HOD

You might also like