I using readLine()
method for reading the text, but i am not aware of how many text can read that method. Ex.
String str = in.readLine();
how many texts can read and store on "str"?
Integer.MAX_VALUE, but you obviously should not be running into this limit very often.
-- and note that this is because Integer.MAX_VALUE is the maximum size for a Java String
Till LINE BREAK
, loosely speaking. For the exact, see Matthew's answer. Cheers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With