字符串的Java字符 Java添加两个数组 Java多字符串 字符串的Java字符 import java.util.Scanner; public class CharToString { public static void main(String args[]){ System.out.println("Enter a character ::"); Scanner sc = new Scanner(System.in); char ch = sc.next().charAt(0); String str = Character.toString(ch); System.out.println(str); } } Java添加两个数组 Java多字符串