java中int score=console.nextInt();...... String str=console.nextLine(); char name=str.charAt(0);

2025-06-21 08:28:02
推荐回答(1个)
回答1:

把String str = console.next();试试。