Here is my code:
public class Project1mrybak3
public static void main (String args)
System.out.println("Begin Java Exection");
// put your Java Program here
String picfile = FileChooser.pickAFile();
Picture pic = new Picture(picfile);
//Create turtle 1
Turtle t1 = new Turtle (pic);
//Create turtle 2
Turtle t2 = new Turtle (pic);
System.out.println("End Java Exection");
}//end of main class
public static void flower (Turtle tparam, int x )
public static void flowers ()
} // end of Template class
So as you can tell, it doesn't make much sense but I have just started writing it. My question is, for the last method "flowers", when i try to run it, it says that it cannot find the symbol variable t1.
Can I not put methods inside of methods?
Ultimately my goal is to create about 4 methods to draw parts of the flower, then put them all inside of one method, then inside my main code, I can call that method with turtle t1 and some x variable.
Thank you for any help and your time! Long live the Tek!