JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II Year OBJECT ORIENTED PROGRAMMING THROUGH JAVA Previous Question Paper (September/October - 2023 - R16)

B.Tech | II Year | I | R16 | September/October - 2023

Answer PaperPaper Code: 133BMMaximum Marks: 75Time: 3 Hours

Part A is compulsory. In Part B, Answer any one question from each unit.

Part A

125 marks
a

What is a Constructor?

2 marks

Answer

A constructor is a special member method in Java that is invoked automatically when an object of a class is created. It has the same name as the class and does not have an explicit return type, not even void.

b

What are Control Statements?

3 marks

Answer

Control statements are programming constructs that determine the flow of execution in a program based on specific conditions. They are categorized into selection statements (e.g., if-else, switch), iteration statements (e.g., for, while, do-while), and jump statements (e.g., break, continue, return).

c

Explain Nested Interfaces?

2 marks

Answer

Sign in to view the complete answer paper.

d

What is serialization? Give one example.

3 marks

Answer

Sign in to view the complete answer paper.

e

Write about Synchronization of threads.

2 marks

Answer

Sign in to view the complete answer paper.

f

What is the difference Thread and Process?

3 marks

Answer

Sign in to view the complete answer paper.

g

Write about Random Utility Class?

2 marks

Answer

Sign in to view the complete answer paper.

h

What is Priority Queue in Java? Explain

3 marks

Answer

Sign in to view the complete answer paper.

i

Write about Border Layout.

2 marks

Answer

Sign in to view the complete answer paper.

j

What is an Event Listener? Give an example.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

How do you implement Hierarchical Inheritance in Java? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a Java program to find smallest of array elements.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Write about any two string handling functions in Java?

2 marks

Answer

Sign in to view the complete answer paper.

b

Write a Java program to accept a String and to reverse it?

8 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

What is the need of IO Streams?

3 marks

Answer

Sign in to view the complete answer paper.

b

Write a program to read and write contents of a file as a stream of bytes?

7 marks

Answer

Sign in to view the complete answer paper.

OR
5

What are Packages? Explain. Write a Java code to create Employee package with basic employee details?

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What is a Multi Threading? Explain.

3 marks

Answer

Sign in to view the complete answer paper.

b

Write a program to create two threads, using these two threads print even and odd numbers in increasing order.

7 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain Checked and Unchecked Exceptions in Java ? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a java code for handling Arithmetic exception?

5 marks

Answer

Sign in to view the complete answer paper.

8

Explain Map Interfaces and Classes with examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Explain Array List and Array Deque? What is the difference between them? How do you implement them in java? Explain with suitable example.

10 marks

Answer

Sign in to view the complete answer paper.

10

Explain MVC architecture? Explain about containers? Write the limitations of AWT.

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

Write about various Swing Controls? Write a code to create login window.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of OBJECT ORIENTED PROGRAMMING THROUGH JAVA from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT II Year I, September/October - 2023, R16.

For the question paper without answers, switch to the Question Paper tab.

Other papers in OBJECT ORIENTED PROGRAMMING THROUGH JAVA

Loading Question Papers

Fetching data from database...