Download JNTUH MCA 3rd Sem R13 2021 August 813AQ Java Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 3rd Sem (Third Semester) Regulation-R13 2021 August 813AQ Java Programming Previous Question Paper


R13

Code No: 813AQ

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA III Semester Examinations, July/August - 2021

2021

JAVA PROGRAMMING

Time: 3 Hours













Max. Marks: 60

Answer any five questions

All questions carry equal marks

- - -


1.

What object oriented features are supported by Java language? Briefly explain with suitable
code segments.

















[12]


2.a)

Write a program to demonstrate constructor overloading.

b)

Differentiate between Abstract classes and interfaces.







[7+5]



3.

What is inheritance? What are the costs of inheritance? Explain hierarchical and multi-level
inheritance.

















[12]


4.a)

Is every nested class an inner class? Justify your answer.

b)

What is the role of CLASSPATH variable for package usage?





[6+6]


5.a)

Write a program to append a file content to another file, read the two file names as
command line arguments.

b)

What is the need of string Tokenizer?











[7+5]


6.

What is the support provided by Java for network programming through java.net package?
Give an the overview.















[12]



7.

How can a user define his/her own exception? Write a program to explain handling such
exception.



















[12]



8.

What is an event? List various types of events and respective sources of events in event
handling.



















[12]




---oo0oo---

This post was last modified on 17 March 2023