Java_m.c.a. ( 2019 Pattern )
Java_m.c.a. ( 2019 Pattern )
:
P786 [Total No. of Pages : 2
[6006]-19
F.Y. M.C.A. (Engineering)
JAVA PROGRAMMING
(2019 Pattern) (Semester - II) (310913)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8. Q.9 or Q.10, Q.11 or Q.12.
2) Neat diagrams must be drawn wherever necessary.
3) Figures to the right side indicate full marks.
4) Assume Suitable data if necessary.
Q3) a) What is Method Overloading? Write a program in Java which calculate area
of circle, triangle and rectangle with the help of method overloading. [6]
b) What is Static variable? Explain static methods with the help of example.
[6]
OR
Q4) a) What is Interface? How to create interface with in java. Write a program
to read and print employee information using interface. [6]
b) Write a program that create package with name maths operation it contain
one interface called operation and that implements by a class called math.
Interface contains add, sub, multiply, div etc abstracts method. [6]
Q5) a) What is thread in Java? Explain life cycle of thread with example. [6]
b) What is exception handling in java? How to handle exception in java?[5]
OR
Q6) a) Create user define exception minimum balance & use it in a bank
operation program. [6]
b) Explain the following terms: [5]
i) Interthread communication
ii) Thread synchronization
iii) Thread priority
P.T.O.
Q7) a) What is Applet? Write down steps to create simple applet & Draw simple
geometry shapes in Applet. [6]
b) Why do we need swing in java? Explain any 3 swing packages in java. [6]
OR
Q8) a) Write a program using applet to draw oval and rectangle within triangle.
[6]
b) What is java layout manager? Explain any two layout manager with
example. [6]
[6006]-19 2