摘要:
一、Remove '@Override' annotation错误导入新项目后可能出现Remove '@override' annotation的错误,原因是JDK1.6之前@Override只对super class起作用,但1.6之后增加了对interface的支持,所以如果导入的项目是基于jdk1.5的,可能就出现这个问题。解决办法:eclipse中的compiler都设置为jdk 1.6即可。①项目-properties-java compiler-选择为1.6②window-preferences-java-compiler-选择为1.6 阅读全文
摘要:
Perl's ucfirst() function takes a string, makes the first character uppercase, and then returns the new string. $myName = 'andrew'; $myUpperName = ucfirst($myName); First, $myName is set to a value of 'andrew', then the ucfirst() function is run on $myName. The ucfirst() function 阅读全文