and another
word,the complier give me a clear hint.
First the hint is:
over.java:11: 找不到符号(cann't find the symbol)
符号(symbol): 类(class) IOException
位置(location): 类(class) Overl2
public void met(int i,String s) throws IOException
^
after i add the import statement and complier it,the hint is :
E:\Java\IWSC> javac over.java
over.java:25: 未报告的异常 java.io.IOException;必须对其进行捕捉或声明以便抛出
(unreported exception ,you must catch it ��)
o1.met(12,"ghani");
^
1 错误(error)