Answer Posted / s.krishna veni
buttons should be declared..
coding to add a button :
Button b1;
b1=new Button("ok");
add(b1);
and after declaring the button..,we should add it to the
applet window..
so that a button is added at run time..
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is difference between string and new string?
State one difference between a template class and class template.
What is difference between array and vector?
What loop means?
Explain the difference between jdk, jre, and jvm?
Can we have any code between try and catch blocks?
What is charat java?
What is lifetime variable?
What is the meaning of nullable?
Is java code slower than native code?
What are the access modifiers available in java?
In how many ways we can do exception handling in java?
What is methods and methodology?
Is java platform independent?
How infinite loop is declared?