0% found this document useful (0 votes)
15 views1 page

Java (5th) Dec2019

The document outlines an examination paper for the Bachelor of Computer Applications 5th Semester focusing on Java Programming. It includes questions from various units covering topics such as characteristics of Java, constructors, method overloading, multiple inheritance, arrays, exception handling, applets, GUI, JDBC, and access protection. Unit V is compulsory and consists of multiple short-answer questions.

Uploaded by

rv749355
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)
15 views1 page

Java (5th) Dec2019

The document outlines an examination paper for the Bachelor of Computer Applications 5th Semester focusing on Java Programming. It includes questions from various units covering topics such as characteristics of Java, constructors, method overloading, multiple inheritance, arrays, exception handling, applets, GUI, JDBC, and access protection. Unit V is compulsory and consists of multiple short-answer questions.

Uploaded by

rv749355
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

Bachelor of Computer Applications 5th Semester

Java Programming
Time allowed: 3 Hours Max. Marks: 65
Note: Attempt any One question each from Units I-IV. Unit V is compulsory.
UNIT-I
I (a) Write any four characteristics of Java Programming language. (4)
(b) What is the use of constructors? Explain the concept of constructors Java with a program. (9)

II (a) What is method overloading? Write a program in Java to illustrate the concept of method (9)
overloading.
(b) Explain the concept of dynamic method dispatch. (4)
UNIT-II
II (a) Write a program in Java to illustrate the implementation of multiple inheritances through (9)
interfaces.

IV
(b)
(a)
Explain any two functions of String class.

o m
What are packages? How do you create and use them in Java?
(4)
(9)

.r c
(b) How one dimensional and two dimensional arrays are declared Java? (4)
UNIT-III
V (a)
e
What type of errors would you get at run time? How Exceptions can be handled in Java?
p m
(9)

o
Explain with suitable examples.

pa .r c
(b) How and when do you create a thread using Runnable interface? (4)

br
VI What are the different types of applets? With the help of diagram discuss the difference (13)
stages in the lifecycle of an applet.
UNIT-IV
p e
VII
a
What is GUI? How can you add text box used for accepting passwords? What is the

p
(13)

VIII r
difference between checkbox and radio button? Explain with Java program.

b
What is the purpose of JDBC driver? Write the steps to insert, update and delete record in (13)
database using JDBC.
UNIT-V
IX (a) What is access protection in packages? (2)
(b) What is the importance of paint ( ) method in Applet ? (2)
(c) Why can't we use a keyword name as variable name? (2)
(d) What is the difference between finally and final? (2)
(e) What are the applications of OOP technology? (2)
(f) In what ways does a Switch statement differ from if statement? (3)

You might also like