在使用printf()的时候经常遇到:The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments (String, char)之类的错误,这是因为java project (在eclipse中)使用的jdk的版本太低。解决方法:右键工程--properties--java compiler--compiler compliance level。
java错误总结
最新推荐文章于 2021-02-26 14:48:07 发布