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

Object Oriented Programming Through Java Jan 2023

This document contains 10 questions from 5 units on the topic of Object Oriented Programming through Java. The questions cover topics like why Java is a robust programming language, dynamic initialization of objects using constructors, inheritance and polymorphism in Java, event handling, exceptions, threads, sockets and Java beans. Students are required to answer 5 questions, selecting 1 from each unit, within 3 hours. All questions carry equal marks of 14 marks each.

Uploaded by

20ME1AO5F2
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)
16 views

Object Oriented Programming Through Java Jan 2023

This document contains 10 questions from 5 units on the topic of Object Oriented Programming through Java. The questions cover topics like why Java is a robust programming language, dynamic initialization of objects using constructors, inheritance and polymorphism in Java, event handling, exceptions, threads, sockets and Java beans. Students are required to answer 5 questions, selecting 1 from each unit, within 3 hours. All questions carry equal marks of 14 marks each.

Uploaded by

20ME1AO5F2
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/ 1

Code No: R201212 R20 SET - 1

I B. Tech II Semester Supplementary Examinations, January/February - 2023


OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(Common to ECE, EIE, ECT)
Time: 3 hours Max. Marks: 70
Answer any FIVE Questions ONE Question from Each Unit
All Questions Carry Equal Marks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UNIT-I
1. a) Why JAVA is Robust programming language? Explain. [4M]
b) Is JVM a Compiler or Interpreter? Justify your answer with proper explanation. [3M]
c) Write a function in JAVA which accepts an array of integers as argument and [7M]
returns the difference between minimum and maximum elements.
(OR)
2. a) With an example, explain dynamic initialization of objects using constructors. [7M]
b) How strings are created using string literals and the new keyword? Give [7M]
explanation.
UNIT-II
3. a) Explain in detail about the inheritance mechanism in JAVA with suitable example [7M]
programs.
b) Write the differences between an Interface and an Abstract class. [7M]
(OR)
4. a) Explain different types of polymorphism provided by JAVA programming. [7M]
b) Explain how interfaces can be used to import shared constants into multiple [7M]
classes.
UNIT-III
5. a) Write a JAVA program to create lists and combo boxes in a Frame. [7M]
b) Write a JAVA program to illustrate the importance of Border layout. [7M]
(OR)
6. a) Write about the paint(), repaint() and update() methods of JAVA’s applet. [7M]
b) Briefly discuss various Swing Controls in JAVA programming. [7M]
UNIT-IV
7. a) What is an event and what are the models available for event handling in Java? [7M]
b) Briefly describe the methods of Object Input and Object Output interfaces. [7M]
(OR)
8. a) Write a JAVA program to display the number of characters, words, and lines in a [7M]
given file using Random Access File class.
b) Explain the delegation event model of handling events with a suitable program. [7M]

UNIT-V
9. a) Write about the members and methods of Thread () class in JAVA. [7M]
b) List out the various JAVA built-in Exception handlers [7M]
(OR)
10. a) Write a JAVA program to illustrate the creation and access of JAVA bean class. [7M]
b) Explain various Socket classes available in JAVA for creating server applications. [7M]
*****
|'''|'|'|''|''||'||| 1 of 1

You might also like