當前位置:成語大全網 - 新華字典 - java問題

java問題

public class Test {

public static void main(String[] args) {

String s1 = "you are a student", s2 = "how are you";

System.out.println(s1.equals(s2));

System.out.println("22030219851022024".startsWith("220302"));

System.out.println("22030219851022024".endsWith("220302"));

System.out.println("妳".compareTo("我"));

System.out.println(Integer.parseInt("100"));

System.out.println(Double.parseDouble("123.678"));

char[] c = "FEDCBA".toCharArray();

System.out.println(java.util.Arrays.toString(c));

}

}