import java.awt.Graphics; class Ideone extended java.Applet.applet{ public void paint(Graphics g){ int x = 10; int y=50; g.drawRect(50,50,x,y); } }
Standard input is empty
Main.java:3: error: '{' expected class Ideone extended java.Applet.applet ^ 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!