OOP Java BCS403 Mid1
OOP Java BCS403 Mid1
SECTION A
Q. No.: 1. Attempt ALL parts in brief. 2 x 5 = 10
a.Define the basic Characteristics of OOP?
b. Define the concept of classes and object in Java with a suitable example.
c. Explain constructor with an example.
d. List different keywords used for exception handling in Java.
e. Differentiate between Exception and Error.
SECTION B
Q. No.: 2. Attempt any THREE parts of the following: 5 × 3 = 15
a.Explain the significance of public, protected and private access specifies in Inheritance?
b. Difference between Method Overloading and Method Overriding in java. Illustrate with a suitable example.
c. Illustrate polymorphism with suitable Java example.
d. Differentiate between run-time and compile-time polymorphism.
BCS403/OOPJ/AITM (719)