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

JAVA

java programming

Uploaded by

Akansha S
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)
4 views

JAVA

java programming

Uploaded by

Akansha S
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

BCA(III) — Java (g) ––––––– tag is used to create a hyper link.

Prog. (CC – 5)
(h) A/An ––––––– is an object that is generated
when a run time error occurs.
2020
2. Answer any eight out of the ten questions :
Time : 3 hours
11×8 = 12
Full Marks : 60
(a) What are the OOP principles ?
The figures in the right-hand margin indicate marks.
(b) What is platform independency ?
Answer all questions. (c) What is a constructor ?

1. Answer all questions : 1×8 = 8 (d) What is the meaning of static keyword ?

(a) Java is a ––––––– language. (e) What is the use of super keyword ?

(b) The mechanism of binding data with the code (f) When will a class be declared as final ?
that manipulates it is known as ––––––– (g) What is object cloning ?
(c) ––––––– means data hiding. (h) What is garbage collection ?
(d) ––––––– is the process by which objects of (i) What are the advantages of multithreading ?
one class acquire the properties of another
(j) What is JDBC ?
class.
(e) The ––––––– method is a member that 3. Answer any eight out of the ten questions :

appends a new line character to the end of 2×8 = 16


the string. (a) Java is distributed language. Justify.
(f) Java uses ––––––– to represent characters. (b) What is JVM (Java Virtual Machine) ?

EI – 26/2 ( Turn over ) EI – 26/2 (2) Contd.


(c) Why Java is important to Internet ? 6. Explain the classes under the 2D shapes. 6
(d) Differentiate between break and continue OR
statement. Describe concept of stream.
(e) Write the syntax for implementing an interface
7. Explain thread synchronization with examples. 6
in class.
OR
(f) Define the final variable and final methods.
Write a short note on exception handling.
(g) What are object wrappers ?
(h) Differentiate static binding and dynamic
binding.
(i) What is a string in Java ?
(j) How will you initialize arrays ?

4. Explain the data types availbale in Java. 6


OR
List out the looping statements available in Java.
Explain with example.

5. Define inheritance. Describe different forms of


inheritance. 6
OR
When do you declare a method or class abstract ?
Discuss with one example.
EI – 26/2 (100) (4) BCA(IV) — Java
EI – 26/2 (3) ( Turn over ) Prog. (CC – 8)

You might also like