0% found this document useful (0 votes)
7 views

JAVA-PROGRAMMING-DEC-2022

q.p

Uploaded by

ChikkalaNaidu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

JAVA-PROGRAMMING-DEC-2022

q.p

Uploaded by

ChikkalaNaidu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

: No: R2022054

Code R20 SET - 1


II B. Tech II Semester Supplementary Examinations, December - 2022
JAVA PROGRAMMING
(Common to CSE, IT, CSE(CSBS), & CS)
Time: 3 hours Max. Marks: 70
Answer any FIVE Questions each Question from each unit
All Questions carry Equal Marks
~~~~~~~~~~~~~~~~~~~~~~~~~
UNIT-I
1 a) Develop a Java program to demonstrate the behavior of static methods &variables? [7M]
b) Explain the syntax of various Loop control statements in Java. [7M]
Or
2 a) Explain how with the help of Command line arguments we can customize the [10M]
behavior of the main() method.
b) Is Java pure object-oriented program or not? Justify your answer. [4M]
UNIT-II
3 a) What are the special characteristics of constructors in Java. Write a Java program to [7M]
initialize an object through constructor methods.
b) Discuss different types of modifiers in Java and give an example for each modifier. [7M]
Or
4 a) Differentiate between Method overloading and Method overriding with a Java [7M]
Program.
b) Explain the following keywords in Java with an example program: [7M]
i) ‘this’ ii) ‘final’ keyword
UNIT-III
5 a) Define Array. How to declare initialize and access multi dimensional Arrays in Java. [7M]
b) Demonstrate the usage of ‘Super’ keyword with a Java program. [7M]
Or
6 a) What is inheritance in java? What are different types of inheritance in java? [7M]
b) Explain the concept of Dynamic Method Dispatch with a Java program. [7M]
UNIT-IV
7 a) Describe the Hierarchy of Java exception classes with a neat sketch. [7M]
b) Explain types of exceptions and explain each keyword involved in exception [7M]
handling.
Or
8 a) Define package and its importance? What are the Different types of packages? How [7M]
to create and import packages in Java?
b) Define path and class path and access control? Give suitable examples. [7M]
UNIT-V
9 a) Discuss various string manipulation functions in Java. [7M]
b) With a Java program, explain the various ways to create Threads. [7M]
Or
10 How to create a JDBC application? Describe the steps involved in the process. [14M]

1 of 1

|'''|'|'|''|''||'|||

You might also like