BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
I just want to know how many characters I can put in when I use the above statement. For example, if I can put in "aaaaa" or "abcde" into console, that would mean I can put 5 or more characters. Then can I put in "a" 2,147,483,647 times? (max value of integer) System.in seems like internally storing the sequence of input as interger type.
If it is true, how many 2-byte characters can I put in? Is it 1,073,741,823? (the half of that number)