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

Java Programming R19 Aug 2021

The document is an exam paper for a Java programming course. It contains 10 questions across various Java topics like keywords, operators, methods, inheritance, packages, exceptions, threads and JDBC. The questions are either short answer or require writing small code examples. Students have to attempt any 5 questions out of the 10.

Uploaded by

melinaraj06
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Java Programming R19 Aug 2021

The document is an exam paper for a Java programming course. It contains 10 questions across various Java topics like keywords, operators, methods, inheritance, packages, exceptions, threads and JDBC. The questions are either short answer or require writing small code examples. Students have to attempt any 5 questions out of the 10.

Uploaded by

melinaraj06
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No: R1922052 R19 SET - 1

II B. Tech II Semester Regular Examinations, August/September - 2021


JAVA PROGRAMMING
(Com to CSE, IT)
Time: 3 hours Max. Marks: 75
Answer any FIVE Questions each Question from each unit
All Questions carry Equal Marks
~~~~~~~~~~~~~~~~~~~~~~~~~

1 a) Explain various Key Words available in Java. [8M]


b) Discuss the rules in Automatic Type Promotion in Expressions. [7M]

Or
2 a) Explain various Operators in Java. [8M]
b) Write a Java Program to test whether a given character is Vowel or Consonant. [7M]
3 a) Explain the concept of call by value with an example. [8M]
b) Write a Java Program to find sum of natural numbers. [7M]

Or
4 a) Explain the concept of Nesting of Methods with an example. [8M]
b) Write a Java Program to swap two numbers using bitwise operator. [7M]
5 a) Write a Java Program to multiply two matrices. [8M]
b) Explain the concept of method overloading with an example. [7M]

Or
6 a) Explain the concept of Inhibiting Inheritance of Class using final with a suitable [8M]
example.
b) Write a program to demonstrate the use of arrays as vectors. [7M]
7 a) Write the benefits of packages and interfaces. [8M]
b) What are the advantages of using an Exception handling mechanism in a [7M]
program?
Or
8 a) Write a java program that demonstrates how certain exception types are not [8M]
allowed to be thrown.
b) How can we add a class to a package? Write about relative and absolute paths. [7M]
9 a) Write briefly on multithreaded programming and inter-thread communication [8M]
inJava.
b) Discuss the procedure to create JDBC Application. [7M]

Or
10 a) Explain JDBC Transaction Management in detail. [8M]
b) Explain Inter-thread Communication with an example. [7M]
1 of 1

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

You might also like