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

303 Java Programming

This document is an exam paper for a Java Programming course (BCA-303) with a total of 60 marks and a duration of 2 hours. It consists of various questions covering topics such as Java architecture, constructors, exception handling, data types, packages, interfaces, threads, and method overloading. Students are required to attempt any five questions from the paper.

Uploaded by

laita nikam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

303 Java Programming

This document is an exam paper for a Java Programming course (BCA-303) with a total of 60 marks and a duration of 2 hours. It consists of various questions covering topics such as Java architecture, constructors, exception handling, data types, packages, interfaces, threads, and method overloading. Students are required to attempt any five questions from the paper.

Uploaded by

laita nikam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

0

Seat Number MALA-11


1 11
BCA-303 : Java Programming

2 00 (72303)

MALA-11
Total Pages :
Time : 2 Hours
2]
Max. Marks : 60

1 11
00
Note : (1) Attempt any five questions.

(2) Figures to the right indicate full marks.2


1 1 1
1. (a) 0
“Java
2 0 is a Architecture neutral and portable”. Explain this statement.

(b) Write the steps for compiling and running a java program. 6

2. (a) 1 1 1
What is constructor ? Explain its types in brief. 6
0 0
(b) What is function ? Write a2brief note on built in functions in Java.

(b)
1 1
What is exception handling ? Write a note on try, catch and throw
keywords.
20 01 6

4. (a) What is data type ? Give its classification. 6

1 1 1
200 1
(b) Write a java program to calculate and print the factorial of a given
1 11
1
number.
2 00 6

0 1
20
(b) What is meant by nesting of methods ? Explain it with suitable

example. 6

P.T.O.

MALA-11
0

6. (a) Explain the concept of package. Also explain the steps to create user

11
defined package in Java.
1 6

(b) 200
What is interface in java ? Give its use, syntax and example. 6
MALA-11
7. (a) Write a detailed note on Threads in Java. 6

1 1 1
(b) Write a java program to overload a method for0swapping two numbers
2 0
1 1 1
and two strings. 6

8. Write 2 0 0
short notes on (any three) : 12

(a) Java and Internet

(b) Command line arguments 1 11


2 00
(c) Inner Class

(d) Applets in Java.

1 1
20 01

1 1 1
200 1 0 1 11
1 1 2 0
200

MALA-11 2

MALA-11

You might also like