You are on page 1of 2

Code No.

: A0510 MR 20
MALLA REDDY ENGINEERING COLLEGE (AUTONOMOUS)
(Affiliated to JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD)
Gundlapochampally (H), Maisammaguda (V), Medchal (M), Medchal-Malkajgiri (Dist), Hyderabad

II B.TECH - I SEM (MR 20) MODEL QUESTION PAPER


Subject: Object Oriented Programming through Java

Branch: CSE, CS, AIML, DS, IOT

Time: 3 hours Max.Marks: 70

5x14=70 M

Answer all the Questions

S.NO Questions BT Marks CO


Level
1 a) How to access class data members in C++? L2 7 1
b) Explain different data types available in java and 7 1
its sizes with a sample example program.
OR
2 a) Explain different Object-oriented concepts in L2 7 1
java. 7 1
b) Explain selection statements in detail with
example programs.
3 a) Discuss the role of abstract class in java. Explain L3 7 2
in detail with an example program. 7 2
b) Discuss the role of constructor and explain
different types of constructors available in java.
OR

4 a) Demonstrate the final keyword usage in java L3 7 2


programming language
b) Compare and contrast method overloading and 7 2
overriding in java.

5 a)  How to define and create a package? Explain it L2 7 3


with Example? 7 3
b) Define an exception and explain about checked and
unchecked exceptions in Java.

OR

6 a) Develop a java program to implement multiple L2 7 3


inheritance. 7 3
b) Develop a java program for interface to find
areas of different shapes.
7 a) Explain about LinkedHashset with an example. L2 7 4
b) What is PriorityQueue ?Explain with an example. 7 4

OR

8 What are the different ways of creating a thread ? Explain with L2 7 4


example. 7 4

9 a) Explain about JFrame class with an example L3 7 5


b) What are the constructors in BorderLayout class?
Explain with example 7 5
OR
10 a) Explain the methods in Key Listener interface with an L3 7 5
Example
b) Explain the java Adapter class with Example. 7 5

You might also like