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
FirstRanker.com
A Firstranker's choice
Code No: 843AE R17
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
MCA 111 Semester Examinations, July/August - 2021JAVA PROGRAMMING
Time: 3 Hours Max.Marks:75
Answer any five questions
All questions carry equal marks
--- Content provided by FirstRanker.com ---
- a) How Java provides portability? Explain.
b) Explain static classes. [7+8] - Define a class name “Set” that contains three integers a, b, c. Define the below methods.
void addition(int a, int b, int c);
void subtraction(int a, int b, int c);--- Content provided by FirstRanker.com ---
Write a program to display the addition and subtraction of the sets.
What is the problem with the above methods declaration? What is to rectify the error? [15] - Demonstrate the concept of polymorphism in JAVA with an example code. [15]
- Define a class for Home Automation. In the initial phase, implement two simple methods like void displayLights(), void offLights()(just print simple messages like Led is glowing etc..) and also include an abstract method void controlLights(). Inherit the Home Automation class to Reverse Engg Clinics class and implement the abstract method void controlLights () in Reverse Engg Clinics.class using JAVA code. [15]
- What is an Runnable interface? Create two threads, one thread displays even integers from 0 to 10, one thread displays odd integers from 1 to 11. Implements the above scenario using Runnable interface in multi threading. [15]
- Explain exception handling in JAVA with an illustrative example. [15]
- Design the given form with AWT components. [15]
select.. v
[Reset] [ Submit Form ] - How to create and give a brief description of each component a JComboBox and a List using AWT. Explain how they are different give the sample code. [15]
--- 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