Download JNTUH MCA 2nd Sem R20 2022 May 872AA Java Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 2nd Sem (Second Semester) Regulation-R20 2022 May 872AA Java Programming Previous Question Paper


R20

Code No:872AA















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA II Semester Examinations, May - 2022

JAVA PROGRAMMING

Time: 3 Hours















Max.Marks:75

Answer any five questions

All questions carry equal marks

- - -


1.a)

Illustrate the use of `this' keyword with an example.

b)

Differentiate between procedural language and OOP.







[7+8]



2.a)

What is the main purpose of Constructor? How to invoke a constructor in JAVA?

b)

Write a java program to illustrate the usage of conditional statements.



[8+7]



3.a)

Explain the creation of packages and accessing a package with sample program.

b)

Write the importance of abstract classes.











[8+7]



4.a)

Illustrate the use of `super' and `final' key words in java.

b)

Explain the benefits of inheritance.











[8+7]


5.a)

Explain nested try and final statements in exceptional handling.

b)

Demonstrate the definition and implementation of interface in java.



[7+8]



6.a)

Distinguish between checked and unchecked exceptions.

b)

Demonstrate Java program for array index out of bound and divide by zero exception.






















[7+8]



7.a)

Explain the following Layout Managers.



i) border layout



ii) grid bag layout

b)

Write a short note on following:



i) JFrame



ii) Scroll Panes.











[8+7]



8.a)

Explain the life cycle of an applet.

b)

Write the differences between multi-threading and multitasking.



[7+8]



---oo0oo---


This post was last modified on 17 March 2023