Why there is primitive type for integer(int) even though we have an object for integer as Integer? But the same is not with String type. There is no such primitive type for
A string datatype is considerably more complex than an int - there's a variable amount of memory to hold a string for one thing.