partially checked exception
package exceptions;
import java.io.IOException;
public class FullyCheckedEx {
public static void doMoreStuff()
{
try
{
System.out.println("hai");
}catch(Exception e) //no error (Exception is Partially checked exception)
{
System.out.println("catch");
}
}
}
0 comments:
Post a Comment