java错误总结

来源:互联网 发布:电视播放软件破解版 编辑:程序博客网 时间:2024/04/30 23:54
在使用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。
0 0
原创粉丝点击