No problem.
All I basically did was to bring the imports for both classes to the top and inserted the 'ACMIO' class below the end of the 'autoedit' class.
Glad I could help.
Type: Posts; User: JavaPF
No problem.
All I basically did was to bring the imports for both classes to the top and inserted the 'ACMIO' class below the end of the 'autoedit' class.
Glad I could help.
Hey madkris,
Here is 'autoedit' & 'ACMIO' together.
import java.io.*;
import java.io.FileReader;
import java.io.InputStream;
import java.io.InputStreamReader;
Yes you can put both classes into 1 file. Please take a look at this tutorial:
Nested Classes (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
It will also be good to...
No problem :D
You wanted two classes into one. You only need to have one main class, there is no need to declare the other class in this case.
Hello madkris and welcome to the Java programming forums.
There were a few things wrong with the code. I've got rid of any reference to 'doinput' because all this code is now within the Main...