Download JNTUH MCA 3rd Sem R17 2022 March-April 843AE Marchapril Java Programming Question Paper

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


R17

Code No:843AE















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA III Semester Examinations, March/April - 2022

JAVA PROGRAMMING

Time: 3 Hours















Max.Marks:75

Answer any five questions

All questions carry equal marks

- - -



1.a)

Discuss the factors for the success of Java programming language.

b)

Define object. Compare it with class.











[8+7]


2.a)

Demonstrate method overriding concept.

b)

Write a program to count the frequency of a character in a given string.



[7+8]


3.a)

Illustrate different forms of inheritance.

b)

Differentiate between abstract class and interface.







[7+8]


4.a)

Write a program to implement multilevel inheritance using interfaces.

b)

Describe different methods of writing a file. Write a simple program to write your details
into a file named Bio.doc.















[7+8]


5.a)

What is an exception? Discuss unchecked exceptions and exception hierarchy in Java.

b)

Write a program to handle divide by zero exception.







[8+7]


6.a)

How to create threads in Java? Explain with illustrations.

b)

Discuss the Java support for inter thread communication.





[7+8]


7.a)

What is the significance of adapter classes in event handling?

b)

Write code to create a user interface for student registration for a technical event at your
college using AWT components.













[7+8]


8.a)

Describe applet life cycle and compare it with application program.

b)

Explain the importance of Model-View-Controller architecture.





[8+7]




---oo0oo---



This post was last modified on 17 March 2023