運(yùn)算符不會(huì)弄了
public class HelloWorld{
? ? public static void main(String[] args) {
int a=16;
double b=9.5;
String str1="hello";
String str2="imooc";
System.out.println("a等于b:" + (a == b));
System.out.println("a大于b:" + (a 〉b ));
System.out.println("a小于等于b:" + (a 〈=b));
System.out.println("str1等于str2:" + (str1 == ?str2 ));
}
}
2017-02-05
你的 > 和 < 用的是中文輸入法吧,換成英文
2017-01-28
大小寫用英文