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 the importance of hashcode() and equals() methods?
Can an object subclass another object?
What is * argv?
What value is a variable of the string type automatically initialized?
Explain Basics of OOP Language in java
What is role of void keyword in declaring functions?
What is computer compiler?
Can you declare the main method as final?
design an lru cache in java?
What is rule of accessibility in java?
What is finally in Java?
Can you declare an interface method static?
What is the use of static class?
What are the benefits of operations?
What is difference between final and finally in java?