Cse Set I

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

0

CODE: 20CA05201

CHADALAWADA RAMANAMMA ENGINEERING COLLEGE


(AUTONOMOUS)
Chadalawada Nagar, Renigunta Road, Tirupati – 517 506
B. Tech I Year II Semester (R20) Regular Examinations, Sept/Oct - 2021
JAVA PROGRAMMING LANGUAGE
(CSE)
Time: 3 hours Max Marks: 70
PART – A
1. Answer any ten questions (10 x 2 = 20 Marks)
(a) How object-oriented languages overcomes the problems of procedural languages?
(b) What are the keywords of Java?
(c) What is polymorphism in OOP?
(d) What are the three types of selection statements used in Java?
(e) What is constructor in Java with example?
(f) What is dynamic method dispatch in Java?
(g) Why to use finally block in java exception handling?
(h) Why is String a class in Java?
(i) What happens when there is no suitable try block to handle exception?
(j) List the methods in Thread class.
(k) How is an applet different from an application?
(l) Write about passing parameters to applets.
PART - B
Answer all five units (5 x 10 = 50 Marks)

UNIT-I
2. What is a Class? How it is Created in java? Explain about importance of Object in Java
Programming?
OR
3. Explain about the concept of classes, objects and methods in OOP

UNIT-II
4. Define scope and lifetime of variables. Explain about the scope and lifetime of variables
in Java.

Continued in Page 2
Page 1 of 2
0
CODE: 20CA05201

OR
5. Write a java program to implement bitwise operators.

UNIT-III
6. Explain about Overloading Methods in detail.

OR

7. Define Interface. Discuss the Implementing interfaces in detail.

UNIT-IV
i) How threads are synchronized? Discuss
8.
ii) How can we create own exceptions in subclass? Explain
OR

9. Discuss the Exception Handling fundamentals using a simple program.

UNIT-V
10. Enumerate the life cycle of an applet in detail

OR

11. Discuss the Passing parameters to Applets.

*****
Page 2 of 2

You might also like