I\'m following the CS106A lectures online. I\'m going through the code on Lecture 12, but it\'s giving me errors in Eclipse.
This is my code. It seems the error is beca
You need to declare your method outside of the main
public class YourClass { public static void main(String... args) { } public char yourMethod() { } }
the string args bit is so when you run it through command line you can send values (as strings)
>java myprogram var1 var2 ....