OOPS Mid 2 Important Questions
OOPS Mid 2 Important Questions
UNIT III
UNIT IV
1.a) What is an applet. What are the differences between applet and application
program in Java?
b) Explain the various methods of Applet class.
2. Write an applet program to display a simple message.
3.Explain the process of passing parameters to an applet with an example.
4.Explain the following containers in Java:
a) JFrame
b) JApplet
c) Jpanel
d) JDialog
5.Explain the constructors and methods of the following classes:
a) JLabel
b) JButton
c) JTextArea
d) JTextField