I am new to java programming and have bad programming writing skills and in great urge of the need of help.
I have a program with 6 methods, one method being the static void main
I just need help in placing FileNotFound into the static void mainI just need help in placing FileNotFound into the static void mainpublic class ExceptionHandling{ public void FileNotFound (String fileName){ } .... public static void main(String[ ] args){ }
I tried:
ExceptionHandling fetch = new ExceptionHandling();
fetch.FileNotFound();
...and received the error of FileNotFound(java.lang.string) could not be applied to ()
I have no idea what to do at all. Checked my textbook with no luck and tried everything my textbook gave examples of. Please help me!