getText() :-
This method is used to retrieve (or receive) the text of a component like Text Feild at run time
e.g : name.getText();
setText:-
This method is used to change the display text of a component like label, text field or button at run time
e.g nn.setText(""+name);
This method is used to retrieve (or receive) the text of a component like Text Feild at run time
e.g : name.getText();
setText:-
This method is used to change the display text of a component like label, text field or button at run time
e.g nn.setText(""+name);
No comments:
Post a Comment