0% found this document useful (0 votes)
4 views

be_electronics-and-telecommunication-engineering_semester-4_2019_november_object-oriented-programming-oop-pattern-2015

Uploaded by

ybkarandikar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

be_electronics-and-telecommunication-engineering_semester-4_2019_november_object-oriented-programming-oop-pattern-2015

Uploaded by

ybkarandikar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

8

23
ic-
Total No. of Questions—8] [Total No. of Printed Pages—3

t
0 sta
Seat

2:4
[5668]-141

01 91
No.

0:0
1/2 0
91
3/1 13
S.E. (E&TC/Electronics) (II Semester) EXAMINATION, 2019
8 2 P0
OBJECT ORIENTED PROGRAMMING
.23 G

(2015 PATTERN)
CE

Time : Two Hours Maximum Marks : 50

8
23
N.B. :— (i) Attempt Q. No. 1 or Q. No. 2, Q. No. 3 Or Q. No. 4,

ic-
16

tat
Q. No. 5 or Q. No. 6, Q. No. 7 or Q. No. 8.
8.2

0s
.24

(ii) Neat diagrams must be drawn wherever necessary.

2:4
91
49

(iii) Figures to the right indicate full marks.


0:0
30
91
(iv) Use of calculator is allowed.
01
01

(v) Assume suitable data, if necessary.


1/2
GP
3/1
CE

1. (a) Explain polymorphism feature of an object oriented programming


82

8
23
.23

with suitable example. [6]

ic-
16

(b) Define the following terms in OOP : [6]


tat
8.2

0s
(i) Class
.24

2:4
91
49

(ii) Object.
0:0
30
91
01
01

Or
1/2
P

2. (a) What are different features of object oriented programming


.23 G
3/1
16 E

language ? [6]
82
C

(b) Write a C++ program to illustrate concept of parametrized


constructor. [6]
8.2

P.T.O.
.24
49
8
23
ic-
3. (a) What are different control statements in Java ? Write a simple

t
sta
Java program using control statements. [7]

0
2:4
01 91
(b) Explain the concept of ‘this’ pointer with example. [6]

0:0
1/2 0
91
3/1 13
8 2 P0 Or
4. (a) Explain different data types in Java. [6]
.23 G
CE

(b) Explain the terms with example : [7]

8
23
(i) Static

ic-
16

tat
(ii) Final.
8.2

0s
.24

2:4
91
49

5. (a) Write a suitable program to explain the concept of super keyword


0:0
30
91
in Java. [6]
01
01

(b) Explain multilevel inheritance in Java with suitable


1/2
GP
3/1

example. [6]
CE
82

8
23
.23

ic-
Or
16

tat
8.2

6. (a) How to import package in Java ? Explain with example. [6] 0s


.24

2:4

(b) State the difference between method overloading and method


91
49

0:0

overriding. [6]
30
91
01
01
1/2

7. (a) What are different methods to create thread ? Explain with


.23 G
P
3/1

example. [7]
16 E
82
C

(b) How to accept character and string from console ? Explain

with example. [6]


8.2

[5668]-141 2
.24
49
8
23
ic-
Or

t
0 sta
8. (a) Draw and explain life cycle of an applet. Differentiate between

2:4
01 91
0:0
applet and Java application program. [6]

1/2 0
91
3/1 13
(b) What are try and multiple catch exception handling in
8 2 P0
Java ? Explain with example. [7]
.23 G
CE

8
23
ic-
16

tat
8.2

0s
.24

2:4
91
49

0:0
30
91
01
01
1/2
GP
3/1
CE
82

8
23
.23

ic-
16

tat
8.2

0s
.24

2:4
91
49

0:0
30
91
01
01
1/2
.23 G
P
3/1
16 E
82
C
8.2

[5668]-141 3 P.T.O.
.24
49

You might also like