Q1. Select the correct statement(s) in the following.
a. JTextField cannot be used as an alternative to JLabel.
b. JLabel cannot be used as an alternative to JTextField.
c. Button grouped radio button can be used as an alternative to JComboBox.
d. The class JPasswordField extends the class JLabel.
Q2. In Java AWT, TextArea and TextField are subclass of:
d. TextComponent and Label, respectively.
Q1. b. JLabel cannot be used as an alternative to JTextField.
Q2. c. TextComponent.
NPTEL Programming in Java Week 9 Assignment All Quiz Answers available on Sikshapath’s Telegram Channel – Click Here to get all answers