java 如何输入带空格的字符串

2025-02-25 20:47:57
推荐回答(1个)
回答1:

String str=javax.swing.JOptionPane.showInputDialog(" ");可以了