📜  java代码示例中的char到charsequence

📅  最后修改于: 2022-03-11 14:52:11.048000             🧑  作者: Mango

代码示例3
String a = "abc";
    String b = "anthony";
    char c = a.charAt(0);
    b.contains("" + c);
    b.contains(String.valueOf(c));