Documente Academic
Documente Profesional
Documente Cultură
*******
***
Code No: 3220405 SET - 2
*******
6. Write a program that draws a square. As the mouse moves over the drawing
area, repaint the square with the upper left corner of the square following the
exact path of the mouse cursor.
7. a) With an example, explain how will pass parameters to an Applet.
b) Describe Flow and Border Layout managers.
***
Code No: 3220405 SET - 3
*******
5. What are built in exceptions? Create a java program to generate and catch an
Index out of Bounds Exception, and with an example prove that always finally
block will execute.
6. a) Write a program that randomly draws characters in different font sizes and
colours.
b) What is an Input Event? Briefly discuss its sub classes.
***
Code No: 3220405 SET - 4
*******
***