Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
26 views

Object Oriented Programming Through JAVA - Set-1.PDF - Crdownload

Uploaded by

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

Object Oriented Programming Through JAVA - Set-1.PDF - Crdownload

Uploaded by

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

Code: CS20APC401 R 20

B.Tech II Year II Semester Regular Examinations September 2022


OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(Common to CSE, IT and CSE(AI&ML))
Time: 3 hrs. Max Marks: 60
PART-A
(Compulsory Question)
1. Answer the following 05 x 02 = 10 Marks

a) What is JVM? 2M
b) How to create user defined package? 2M
c) Write short note on Error. 2M
d) Define synchronization. 2M
e) What is the lifecycle of an applet? 2M

PART-B

Answer All five Units 05 x 10 = 50 Marks


UNIT-I
2. Explain about static keyword with simple program. 10 M
OR
3. What is String? Explain any five string class methods. 10 M
UNIT-II
4. What is Inheritance? Explain its advantages with suitable examples. 10 M
OR
5. Compare and contrast method overloading and method overriding with examples. 10 M
UNIT-III
6. Define Exception? Explain How to handle exceptions with suitable example. 10 M
OR
7. Compare and contrast throw and throws with suitable examples. 10 M
UNIT-IV
8. What is Multithreading? What are the ways to create multiple threads in java? 10 M
OR
9. Create a java program to sort the given names into ascending order. 10 M
UNIT-V
10. Describe about Source, Event and Listeners in event handling. 10 M
OR
11. Demonstrate the Layout Managers in java. Explain with program. 10 M

*****

You might also like