To err is human,
To forgive is not company policy
PrasannaKumar Sathiyanantham wrote:your static int frequency() method has been declared to throw ioexception.....
hence when you call this method it must be surrounded by the try catch block
like this
try{
frequency();
}
catch(IOException e )
{}
try this it must work
also its a good programming practice to import only the packages or classes that you use in the program....don't import everything kkkkkk
To err is human,
To forgive is not company policy
Consider Paul's rocket mass heater. |