Download JNTUH MCA 3rd Sem R13 2022 March-April Java Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 3rd Sem (Third Semester) Regulation-R13 2022 March-April Java Programming Previous Question Paper


R13

Code No:813AQ















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA III Semester Examinations, March/April - 2022

JAVA PROGRAMMING

Time: 3 Hours















Max.Marks:60

Answer any five questions

All questions carry equal marks

- - -



1.a)

Explain constructor overloading with an example.







b)

What is auto boxing in java? Explain with an example.







[6+6]


2.a)

Discuss about polymorphism with an example program.







b)

Write a program that reads an integer between 0 and 1000 and adds all the digits in the
integer. For example, if an integer is 632, the sum of all its digits is 11.



[6+6]


3.a)

Give a brief summary on inheritance with examples.











b)

Describe the various forms of implementing interfaces.







[6+6]


4.

Explain how to create, access and import packages with an example program.

[12]


5.a)

Discuss the methods available in the Character Streams.







b)

What is difference between Array List and Linked List in collection framework? [6+6]


6.a)

Write a program to read a file content and extract words using String Tokenizer class.

b)

How ahash table can change the iterator? Explain.







[6+6]


7.a)

Differentiate betweenchecked exceptions and unchecked exceptions with examples.



b)

Write a java program to illustrate the usage of try and catch blocks.



[6+6]


8.a)

Write a Java program for keyboard events.











b)

Differentiate between applets and applications.









[6+6]



---oo0oo---


This post was last modified on 17 March 2023