看String的API
今早上才看过
没记住

解决方案 »

  1.   

    ascd"ddd"dsd  ascd\"ddd\"dsdString m="Java";
    m = m.toLowerCase();
      

  2.   

    1.用"...\"..."
    2.String类型有toLowerCase()和toUpperCase()方法
      

  3.   

    toLowerCase
    public String toLowerCase()
    Converts all of the characters in this String to lower case using the rules of the default locale. This is equivalent to calling toLowerCase(Locale.getDefault()). toUpperCase
    public String toUpperCase()
    Converts all of the characters in this String to upper case using the rules of the default locale. This method is equivalent to toUpperCase(Locale.getDefault()).