UPDATE: the problem was i misspelled square but i have a new problem, now it says "illegal start of type" and marks the first digit of the public square part...can't they be more specific ffsssssssssssssssssssss????????
this is the code, when i run it it highlights the bit that has "public square" and says the error i put in the title, why don't these people make errors normal people can understand ffs?
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class square here. * * @author (your name) * @version (a version number or a date) */ public class square extends Actor { /** * Act - do whatever the square wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { } public square(100, 100, 100){ textbox textbox1 = new textbox(); addObject(textbox, 200, 200); }