Roll No.................................
(28) 7355
Printed Pages—3] 4BCA1/CCC9
Bachelor of Computer Application (Fourth Semester)
(CBCS) Examination, May/June 2019
JAVA PROGRAMMING
Duration : 3 /Max. Marks : 50
/Min. Pass Marks : 20
Instructions :
1. The question paper is divided in five units. Each unit carries an internal
choice.
2. Attempt one question from each unit. Thus attempt five questions in all.
3. All questions carry equal marks.
4. Assume suitable data wherever necessary.
5. English version should be deemed to be correct in case of any anomaly in
translation.
6. Candidate should write his/her Roll Number at the prescribed space on the
question paper.
7355 1 P.T.O.
http://www.mcubhopal.com
I/(Unit I)
1. 10
Give features of Java Language. Also explain the structure of Java program.
/(Or)
List and explain type of loops in Java with example. How does labelled loop
work ?
II/(Unit II)
2. 10
What are the advantages of using Inheritance in Java ? In Java, explain the
following :
(i) Abstract class
(ii) Inheritance of Constructor
(iii) Final Method.
/(Or)
How compile time polymorphism is achieved in Java ? Use an example to explain.
III/(Unit III)
3. 10
In Java explain :
(i) Wrapper Class
(ii) Interface Implementation
(iii) Array Object.
/(Or)
Define Package in Java. How one can create their own package ? How classes
from package are used ? Explain.
7355 2
http://www.mcubhopal.com
IV/(Unit IV)
4.
10
What are the similarities and differences between Class and Interface. Give
various forms of Interface implementation with example code.
/(Or)
How does thread work ? Give entire life cycle of a thread.
V/(Unit V)
5. Applets application Applet testing
10
How do Applets differ from Application in Java ? What steps are involved in
developing and testing in applet ?
/(Or)
Applet :
In context to Applet describe :
(a) The Applet Class
(b) Invoking an Applet
(c) Getting Applets Parameter.
7355 3 P.T.O.
http://www.mcubhopal.com