Sunteți pe pagina 1din 2

GANDHI INSTITUTE FOR EDUCATION & TECHNOLOGY BANIATANGI,

BHUBANESWAR.
B.TECH 2017-2021 SEMESTER-3RD CLASS TEST-I EXAMINATION 2018
SUB: OOP Using JAVA
BRANCH : CSE(3rd Sem )
Full marks-15 Time-1hrs
Answer all the questions from Section-A &Section-B and two questions from Section-C.
The figure in the right side margin indicates the marks.

Section-A
(1×3)

Q.1. a) Why Java is platform independent?


b) What is the use of super keyword in java?
c) What is access modifier?

Section-B (2×3)

Q.2. Differentiate abstract class with interface.


Q.3. Differentiate method overloading and method overriding
Q.4 What do you mean by Inheritance? Write syntax of Inheritance..

Section-C (3×2)

Q.5. Write a program to implement constructor overloading.


Q.6. Briefly discuss the features of Java .
Q.7. What is Inheritance? Write a program to implement multipath inheritance in java .

GANDHI INSTITUTE FOR EDUCATION & TECHNOLOGY BANIATANGI,


BHUBANESWAR.
B.TECH 2017-2021 SEMESTER-3RD CLASS TEST-I EXAMINATION 2018
SUB: OOP Using JAVA
BRANCH : CSE(3rd Sem )
Full marks-15 Time-1hrs
Answer all the questions from Section-A &Section-B and two questions from Section-C.
The figure in the right side margin indicates the marks.

Section-A
(1×3)

Q.1. a) Why Java is platform independent?


b) What is the use of super keyword in java?
c) What is access modifier?

Section-B (2×3)

Q.2. Differentiate abstract class with interface.


Q.3. Differentiate method overloading and method overriding
Q.4 What do you mean by Inheritance? Write syntax of Inheritance..

Section-C (3×2)

Q.5. Write a program to implement constructor overloading.


Q.6. Briefly discuss the features of Java .
Q.7. What is Inheritance? Write a program to implement multipath inheritance in java .

S-ar putea să vă placă și