Hello,
I'm new to java. Every primitive data type has a fixed size as far i know. What is the size of String type? if it's capable of holding unlimited length of string then how it is done inside java?
Just a thought.
Printable View
Hello,
I'm new to java. Every primitive data type has a fixed size as far i know. What is the size of String type? if it's capable of holding unlimited length of string then how it is done inside java?
Just a thought.
String is not a primitive data type. It's an object data type.