You are on page 1of 2

Roll No. …………………..

BCA–502
B. C. A. (Fifth Semester)
EXAMINATION, 2016-17
JAVA PROGRAMMING
Time : Three Hours
Maximum Marks : 70
Note : Attempt all questions.
Section—A
1. Explain any four of the following questions in brief :
1
32 each
(i) Inheritance
(ii) Constructors
(iii) Abstract class
(iv) Package
(v) Scroll panes
(vi) Combo box
Section—B
2. Attempt any two of the following : 7 each
(i) Define the structure of Java program.
(ii) What is Java virtual machine ? State its purpose.
(iii) Write the significance of packages in Java.
[2] BSC-IT–101

3. Attempt any two of the following : 7 each


(i) Explain in detail about Java operators and
expressions with examples.
(ii) Explain about AWT and AWT controls.
(iii) What is a constructor ? Explain Default and
parameterized constructor in Java.
4. Attempt any two of the following : 7 each
(i) Write a program to check whether the given
number is palindrome or not.
(ii) Explain with example how database connectivity
is done in Java.
(iii) What are control flow statements in Java ?
Explain with examples.
5. Attempt any two of the following : 7 each
(i) What is an applet ? How a Java applet is different
from a Java application ? Explain.
(ii) What do you mean by exception handling ?
Explain the use of different keywords used for
exception handling by taking suitable examples.
(iii) Write a program to implement multiple
inheritance using interfaces.

BCA–502 70

You might also like