java qp2
java qp2
Fourth Semester
Computer Science
JAVA PROGRAMMING
6. What is interface?
7. What is a package?
Part B (5 5 = 25)
Or
(b) How is Type casting done is Java?
Or
(b) Compare if .. else if with switch statement.
Or
(b) What is abstract class? Explain.
Or
(b) Explain syntax of exception handling code.
15. (a) Write a Java program to line and Rectangle for the
given co-ordinates.
Or
(b) How to use control loops in Applets?
Part C (3 10 = 30)
Answer any three questions.
2
F–2630
Sp 5
————————
3
F–2630
https://www.tnstudy.com