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.
我是新用户。我想制作一个程序,以乌尔都语接受用户输入,然后将该输入转换为英语。我只想知道如何将输入设置为乌尔都语,即当用户输入时,它应该是乌尔都语而不是英文字符。
您可以使用System.out.printf(Locale l,String format,Object ... args)
System.out.printf(Locale l,String format,Object ... args)