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

OOPs With Java 2023

Uploaded by

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

OOPs With Java 2023

Uploaded by

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

Pages: 02

Total Printed Roll No.


ICB-2134
Examination -April/May- 2023
B.Tech. III Sem
:CSE-ICB
Object Oriented Programming
Time:3 Hrs with Java Max. Marks : 70
Min. Marks: 22
Note: Total number of questions are 05. AIl Questions are compulsory. Each Question has 4
parts (a, b, c, d). Part a, b & c are compulsory while Part d has internal Choice. Assume
missing data, if any.
Word limit be observed as follows:
words. Part b - Max 50 words,
Part a - Max 50
Part c- Max 100 words and Part d - Max 400 words.
Word limit NOT to be followed for diagram, numerical, derivation.

Q.] (a) Discuss data types in java. 02

(b) Discuss inheritance in java. 02

(c) Briefly explain the portable, secure and robust features of Java. 03

(d) What are the uses of the keyword final in Java with example? 07

OR
07
What is the Java Runtime Environment? What is the role of Java Virtual Machine in it?

What is an abstract class? 02


Q.2 (a)
02
(b) Define access modifiers.
Describe the concepts of object and class with a suitable Java program. 03
(c)
07
(d) Explain the concept of method overriding and overloading with an example.
OR
07
Compare and contrast Interface and abstract class.

02
Q.3 (a) Discuss use of 'this' keyword.
02
(b) Discuss use of 'super keyword.
03
(C) Differentiate IS-A and HAS-A relationship.
independent? What is the role of Bytecode in
07
considered to be platform
(0) Why is Java
making the Java platform independent?
OR
07
suitable examples?
Describe the types of constructor in Java, with
02
0.4 (a)
Discuss finally block in exception. 02

What are the system defined packages?


1CB-2134
(c) What are the uses of Package in java?
(d) Explain automatic type conversion in
Java with an example. What
required for it? are lhe tWO
OR

Describe in detail about exception handling, try block and catch


a suitable Java program. clauses with be

Q.5 (a) What is a daemon thread? N

(b) What is the use of thread priority?


(c) Enlist the states of thread lifecycle.
(d) Describe in detail the creation of athread using the Runnable
class with suitable examples. interface and the T'
OR
Write asimple program by extending appropriate classes to
threads in java. demonstrate the wo..
*****

You might also like