[go: up one dir, main page]

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

Java ReMid Sem Mar 2019

This document contains an exam for an Object Oriented Programming using Java course, including: 1) Two questions - the first asks to explain OOP principles and keywords like this, final and super. The second asks to justify true or false statements about Java concepts. 2) A choice between demonstrating constructor overloading or explaining how to achieve multiple inheritance with a program. 3) Identifying information about the exam such as date, branch, subject and time.

Uploaded by

Dhrumil Dancer
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)
72 views2 pages

Java ReMid Sem Mar 2019

This document contains an exam for an Object Oriented Programming using Java course, including: 1) Two questions - the first asks to explain OOP principles and keywords like this, final and super. The second asks to justify true or false statements about Java concepts. 2) A choice between demonstrating constructor overloading or explaining how to achieve multiple inheritance with a program. 3) Identifying information about the exam such as date, branch, subject and time.

Uploaded by

Dhrumil Dancer
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

Enroll. No.

/
KADI SARVA VISHWAVIDYALAYA
LDRP INSTITUTE OF TECHNOLOGY & RESEARCH, GANDHINAGAR
B.E. MID-SEMESTER REMEDIAL EXAMINATION March 2019
Date : 30/03/2019 Branch : CE & IT
Subject Name & Code: Object Oriented Programming using JAVA (CT 405 N)
Time : 8:30 AM to 10:00 AM Semester : IV Max. Marks : 30

Q1 A) Explain the principles of object oriented programming. 5


B) Explain the following keywords 5
This, final, super
Q2 Justify True or False. (2 marks each) 10
1. We can declare the main method of our class as private.
2. We can declare a class as Abstract without having any abstract method.
3. We can override static methods of a class.
4. We can call the constructor of a class more than once for an object.
5. We can use a default constructor of a class even if an explicit constructor is
defined.
Q3 Demonstrate constructor overloading. 10
OR
Q3 Explain how to achieve multiple inheritance with the help of program. 10

Enroll. No. /
KADI SARVA VISHWAVIDYALAYA
LDRP INSTITUTE OF TECHNOLOGY & RESEARCH, GANDHINAGAR
B.E. MID-SEMESTER REMEDIAL EXAMINATION March 2019
Date : 30/03/2019 Branch : CE & IT
Subject Name & Code: Object Oriented Programming using JAVA (CT 405 N)
Time : 8:30 AM to 10:00 AM Semester : IV Max. Marks : 30

Q1 A) Explain the principles of object oriented programming. 5


B) Explain the following keywords 5
This, final, super
Q2 Justify True or False. (2 marks each) 10
1. We can declare the main method of our class as private.
2. We can declare a class as Abstract without having any abstract method.
3. We can override static methods of a class.
4. We can call the constructor of a class more than once for an object.
5. We can use a default constructor of a class even if an explicit constructor is
defined.
Q3 Demonstrate constructor overloading. 10
OR
Q3 Explain how to achieve multiple inheritance with the help of program. 10

You might also like