Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

Java Programming- Model QPaper

This document outlines the examination structure for the B.Tech III Year II Semester Java Programming course, including a compulsory section and five units covering various Java concepts. Topics include class vs. object differentiation, interface creation, exception handling, inheritance, multithreading, and GUI design. The exam consists of both short answer questions and longer, detailed responses, totaling a maximum of 60 marks.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Java Programming- Model QPaper

This document outlines the examination structure for the B.Tech III Year II Semester Java Programming course, including a compulsory section and five units covering various Java concepts. Topics include class vs. object differentiation, interface creation, exception handling, inheritance, multithreading, and GUI design. The exam consists of both short answer questions and longer, detailed responses, totaling a maximum of 60 marks.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Code: CS20AOE602 R 20

B.Tech III Year II Semester (R20) Regular Examinations April 2023


Java Programming
(Electronics and Communication Engineering)
Time: 3 hours. Max Marks: 60
J
PART-A(Compulsory Question)
1. Answer the following 05 x 02 = 10 Marks
a) Differentiate between class and object 2M
b) Write Syntax to create interface. 2M
c) Use of finally block in java? 2M
d) Describe the purpose and working of sleep() method 2M
e) What is the lifecycle of an applet 2M
PART-B
Answer All five Units 05 x 10 = 50 Marks
UNIT-I
2 a List Java buzz words and explain about them 5M
b What is Type conversion and casting ? Explain with an example 5M
OR
3. a Define Constructor? Write a sample program for overloading constructors. 5M
b Explain about static with simple program. 5M
UNIT-II
4. What is Inheritance? Its advantages? Explain with suitable example. 10 M
OR
5. a Explain about super keyword with suitable example. 5M
b Compare and contrast method overloading and method overriding? 5M

UNIT-III
6. a Define Exception? Explain How to handle exceptions with suitable example. 5M
b Write a sample java program to get ArrayIndexOutBoundsException in catch
5M
block?
OR
7 Define file. Name the functions associated with the reading the data from the file 10M
and writing data to the file with an example

UNIT-IV
8. What is Multithreading? What are the ways to create multiple threads in java 10M

OR
9. Write the difference between String and StringBuffer classes 10 M

UNIT-V
10. a) Write a java program to implement Mouse Events 5M
b) Explain about the AWT Menu design. 5M
Code: CS20AOE602 R 20
OR
11. Explain about layout manager & different layouts and also write an example
program to 10 M
demonstrate layouts
*****

You might also like