0
Why iam not able to execute without errors in this program
3 ответов
0
Type and syntax errors..
Applet //capital A
ActionListener
//(No space, capital L)
actionPerformed(ActionEvent e)
//capital P, no space
Capital A in actionEvent, no space, object e should be specified.
//Capital B in
Button
repaint() //not re.paint()
addActionListener(this);
//no space in between, capital L,
Graphics // capital G
g.drawString(str,20,30);
Note: applet, html code will not work in this compiler. so try in other compilers.
0
Thanks a lotJayakrishna , it would have been impossible if you have not answered my doubt
0
Wel come...