0% found this document useful (0 votes)
36 views2 pages

JAVA (5th) May2017

The document contains questions for an exam on programming in Java. It asks short questions in Section A and longer questions requiring explanations in Section B. The questions cover topics like vectors vs arrays, destructors, JVM, exceptions, and more.
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)
36 views2 pages

JAVA (5th) May2017

The document contains questions for an exam on programming in Java. It asks short questions in Section A and longer questions requiring explanations in Section B. The questions cover topics like vectors vs arrays, destructors, JVM, exceptions, and more.
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/ 2

20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 Roll No.


20969 20969 20969 20969 20969 Total20969
No. of Pages
20969 : 02 20969

Total No. of Questions : 07

BCA (2011 & Onward) (Sem.–5)


20969 20969 20969 20969 20969 20969 20969 20969 20969
PROGRAMMING IN JAVA
Subject Code : BSBC-502
Paper ID : [B1155]
20969 20969 20969 20969 20969 20969 20969 20969 20969
Time : 3 Hrs. Max. Marks : 60

INSTRUCTION TO CANDIDATES :
20969 20969 20969 20969 20969 20969 20969 20969 20969
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying T EN marks each and a student has
to attempt any FOUR questions.
20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 20969
l.
20969 20969
Write short notes on :
SECTION-A
20969

o m
20969 20969 20969 20969

20969 20969 20969 20969 20969


.r c
a) What are various advantages of Vectors over Arrays?
20969 20969

m
20969 20969

b) Explain Destructor.

p e o
a .r c
20969 20969 c) What are Web Browsers?
20969 20969 20969 20969 20969 20969 20969

d) Explain JVM.

r p e
20969 20969 20969

b 20969
e) What are Byte Codes?

f) What are Random Access Files?


20969

a
20969

p
20969 20969 20969

rp
20969 20969 20969 20969 20969 20969 20969 20969 20969

g) What is the use of Final Variable?

20969 20969
h) What are Exceptions?
20969 20969 20969

i) What are different types of errors?


b 20969 20969 20969 20969

20969 20969 j) Write down the syntax


20969 20969 to create 20969
class and object.
20969 20969 20969 20969

20969 20969 20969 20969 20969 20969 20969 20969 20969

1 | M-70629 (S3)-2455

20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 20969 20969 20969 20969 20969 20969 20969 20969


20969 20969 20969 20969 20969 20969 20969 20969 20969

SECTION-B
20969 20969 20969 20969 20969 20969 20969 20969 20969

2. Differentiate between C, C++ and Java.

20969 3.
20969 a) Write various steps
20969 to develop compile
20969 20969 and run20969
Java program.20969 20969 20969

b) Write a note on Random Access File.


20969 20969 20969 20969 20969 20969 20969 20969 20969
4. How can we implement multiple inheritance in java? Explain with example.

5. a) What are various advantages of using Package in java?


20969 20969 20969 20969 20969 20969 20969 20969 20969

b) Differentiate between Applet and Applications.

6. What are constructors? Write down its various features and different types. Also write
20969 20969 20969 20969 20969 20969 20969 20969 20969
example for Parameterized constructor.

20969
7.
20969 20969 20969 20969

o m
What are various techniques to handle Exceptions in Java? Explain with example.
20969 20969 20969 20969

20969 20969 20969 20969 20969


.r c 20969 20969

m
20969 20969

p e o
a .r c
20969 20969 20969 20969 20969 20969 20969 20969 20969

r p e
20969 20969 20969

b 20969 20969

a
20969

p
20969 20969 20969

rp
20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 20969 20969 20969 20969 b 20969 20969 20969 20969

20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 20969 20969 20969 20969 20969 20969 20969 20969

2 | M-70629 (S3)-2455

20969 20969 20969 20969 20969 20969 20969 20969 20969

20969 20969 20969 20969 20969 20969 20969 20969 20969

You might also like