This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
Code No: 823AD R15
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA III Semester Examinations, March/April - 2022
JAVA PROGRAMMING
Time: 3 Hours Max.Marks:75
Answer any five questions
--- Content provided by FirstRanker.com ---
All questions carry equal marks
- a) What is a Constructor? How to invoke a constructor in JAVA? Explain.
b) Briefly describe about parameter passing techniques in Java. [8+7] - a) Discuss various primitive data types in Java.
b) Write a java program to find maximum of three numbers using ternary operator. [7+8] - Explain the use of ‘super’ and ‘final’ key words in java.
Illustrate the importance of Abstract classes with a JAVA program. [7+8] - Write a detail note on interfaces and packages in java with examples. [15]
- a) Explain the purpose of BufferedWriter classes in Java with an example.
b) Write a Java program that reads from the ‘text’ file using File Reader. [7+8] - Briefly explain about the following:
1) Hash Table ii) String Tokenizer - Write a Java program to accepts a file name as command line argument and finds the length of the longest line in the file and displays an error message if the file does not exist. [7+8]
- a) Demonstrate nested try statements and finally statements.
b) Explain thread synchronization with respect to multithreading. [7+8] - Describe the event handling mechanism in java with an example.
Write an applet program that will take an input from the user to calculate the average of two integers. [7+8]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
---00000---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university