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

28-Java-Programming-December-2019

This document is an examination paper for the V Semester B.C.A. in Computer Science, specifically for the Java Programming course. It includes instructions for answering questions across two sections, with Section A consisting of ten short answer questions and Section B containing five detailed questions. The paper covers various Java concepts such as classes, inheritance, applets, exception handling, and graphics.

Uploaded by

Nandini B P
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)
2 views

28-Java-Programming-December-2019

This document is an examination paper for the V Semester B.C.A. in Computer Science, specifically for the Java Programming course. It includes instructions for answering questions across two sections, with Section A consisting of ten short answer questions and Section B containing five detailed questions. The paper covers various Java concepts such as classes, inheritance, applets, exception handling, and graphics.

Uploaded by

Nandini B P
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

No.

of Printed Pages : 2

100438
GN-453
28
V Semester B.C.A. Examination, December 2019
(CBCS) (F+R) (Y2K14)
COMPUTER SCIENCE
BCA-504T: JAVA PROGRAMMING
Time 3 Hours a x . Marks: 70

Instruction: Answer all Sections.

SECTION A

I. Answer any ten questions. --. 10x2-20o


1. JAVA is a platform-independent language. Justify.

2. What is a Vector ? How is it different from an array?

3. How can you create an instance of a class in Java ?

What is Java API ?

5. How are this' and 'super keywords used?

6. What is System.in and System.out ?

7. What are wrapper classes?

8. List any four types of listeners in Java.

9. What is an Applet?

10. What is the difference between an intertace and an abstract class ?

11. What is the difference between String and String Buffer class ?

12. What are the different stream classes available in Java ?

P.T.O.
GN-453 2

SECTION - B

II. Answer any five questions 5x10-50


13. (a) Explain features of Java. 5
(b) What is the difference between overloading and overriding ? 2
(c) Explain any three string methods with cxamples 3

14. (a) What is Constructor Overloading ? Write a program to demonstrate 5


the same.
(b Define Inheritance. Explain any two types of Inheritance with 5
example.

15. (a) Write a program to illustrate static variables and static methods. 5

What is package ? How do you create and access a package ? 5


(b
16. (a) Explain life cycle of a thread with neat diagram. 5

(b) Write a program to implement thread priorities. 5

17. (a) Explain Life Cycle of an applet with a neat diagram.


(b) Explain how parameter are passed to an object.

18. (a) Explain any five methods of Graphics class with an example for 5
each.

(b) Write a program to implement mouse events.

19. (a) Explain how exception handling is achieved in Java.


5
(b Explain final variable,
examples.
final method and classes with suitable

20. (a) Write a program to read data from a file and display it on the
console.

(b) Explain the use of Data Input Stream and Data Output Stream 5
with example.

- o 0 o -

You might also like