+ 2
Why I can't use Bengali words as expression of String in JAVA, C++, Python??
Restrictions of typing foreign language in High level programming..
2 Respostas
+ 1
I can on Sololearn.
public class Example {
public static void main(String[] args) {
System.out.println("উদাহরণ");
for (int সংখ্যা = 0; সংখ্যা < 10; সংখ্যা++)
System.out.println(সংখ্যা);
}
}
If you use commnad line try check codepage of terminal. In wndows there is chcp command.
There are ways how control Input output code page eg
Scanner(System.in, "852"); // for code page 852
Check how you code characters in your editor (file.java), like UTF-8 or 16 or ANSI