0

How many characters are there in java?

are there 65536 because Character.MAX_VALUE when converted to int gives 65535?

27th Nov 2016, 12:23 PM
Shubham
1 Answer
+ 3
What do you mean by character. If you mean by char data type or string data type. There are 256 character in ASCII code. And this is a standard. If you mean length of a variable than it is  2^31-1. Please explain your problem if I did not understand it with example.
27th Nov 2016, 12:41 PM
Aditya kumar pandey
Aditya kumar pandey - avatar