"hello"
Not an object. new String("hello")
Object.Along the way, autoboxing will convert a string to an object delegating to String.prototype if you write something like "hello".foobar(). But primitive value strings are not objects.
"hello"
Not an object. new String("hello")
Object.Along the way, autoboxing will convert a string to an object delegating to String.prototype if you write something like "hello".foobar(). But primitive value strings are not objects.
No comments yet.