I swear I tried doing that last night.. I must have missed something. Will try to see where I went wrong since I still have a copy of what I did last night.
thank you very much. :D
Type: Posts; User: madkris
I swear I tried doing that last night.. I must have missed something. Will try to see where I went wrong since I still have a copy of what I did last night.
thank you very much. :D
Yes, I am. Reading about nested classes atm. Will try to search google for more info about it.
question: is there a way to have both classes in a single java file but with doinput class outside of the Main class? how?
i get lost often with this pair of code still want to have them in a...
ahh right. Thanks for the help.
works wonderfully.
so i dont have to declare any other class when its under the Main class?
Hi,
I have two java codes Main.java and doinput.java, i wanted to have them into a single java file.I tried it like this
import java.io.*;
import java.util.StringTokenizer;
class Main {...