Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の Java コードを検討してください。
String str = "\u8ba9\u4ed6\u51fa\u6d77\u4e86"; // ... System.out.print(str);
から文字を取得したいstr。前もって感謝します。
str
Javaで取得できます
char c = "\uFFFF".toCharArray()[0]; System.out.println(c);