Solved

Which Statements Will Create an Editable Text Field and Assign

Question 10

Multiple Choice

Which statements will create an editable text field and assign "Your choice" to it?


A) JTextField txt = new TextField("Your choice") ;
Txt) isEditable(true) ;
B) JTextField txt = new JTextArea("Your choice ") ;
Txt) isEditable(true) ;
C) JTextField txt.setText("Your choice ") ;
Txt) setEditable(true) ;
D) JTextField txt = new JTextField("Your choice ") ;
Txt) setEditable(true) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions