MCS024
MCS024
MCS-024 1 P.T.O.
(e) What is an Interface ? Write a program to
show how a class implements two interfaces. 5
(f) What is Object Serialization ? Briefly
discuss the working of Object Serialization. 5
MCS-024 3 P.T.O.
No. of Printed Pages : 4 I MCS-024
MCA (Revised) / BCA (Revised)
Term-End Examination
MCS-024 / 3060
(d) What is interface in Java? Write a java
program to exhibit, how to define and
implement interface. 5
-X-
MCS-024 1 P.T.O.
(e) What is classpath ? Explain the utility of
classpath, with the help of a suitable
example. 5
(f) Compare private and protected access
specifiers. Give suitable example for each. 5
(g) Differentiate between Method-overloading
and Method-overriding, with the help of a
suitable example. 5
(h) What is layout manager ? Explain any two
layouts in Java. 5
MCS-024 2
4. (a) Write a Java program to create a Teacher
class and derive PGT, TGT and PRT classes
from Teacher class. Define appropriate
construction for all the classes. Also define
a method to display information of Teacher.
Make necessary assumptions as required. 10
MCS-024 3 P.T.O.
No. of Printed Pages : 3 MCS-024
MCS-024 1 P.T.O.
(e) What is an exception ? Write any three
actions that can be taken after an
exception occurs in a program. 5
(f) What are threads ? Explain how threads
are created by implementing Runnable
Interface. 5
(g) What is serialization ? Differentiate
between Transient and Volatile keyword. 5
(h) Discuss the architecture of Applet, with the
help of a suitable block diagram. 5
MCS-024 2
4. (a) What is the difference between & operator
and the && operator ? Give suitable
example for each. 5
MCS-024 3 P.T.O.
No. of Printed Pages : 4 MCS-024
M. C. A. (REVISED)/B.C.A. (REVISED)
Term-End Examination
December, 2020
Weightage : 75%
Lot-II P. T. O.
[2] MCS-024
(i) Extends
(ii) Implements
using interface. 8
students”. 10
exception handling. 10
inheritance. 10
P. T. O.
[4] MCS-024
MCS–024 7,750