求解hello方法在java.lang.String報錯的解決方法
OneInterface oif=new OneInterfaceImpl(); ? ? System.out.println(oif.hello("word:")); 我這個執行以后拋錯,Error:(6, 31) java: 找不到符號 ?符號: ? 方法 hello(java.lang.String) ?位置: 類型為com.imooc.ioc.interfaces.OneInterface的變量 oif 求大佬們幫解決哪里問題,卡了好幾天在這
2020-04-11
完整代碼呢