Correct me if I have a wrong train of thought.
First, create an object: new String();
Now we need to declare a variable that will store an object reference: String s = new String();
Now we can use the methods of the created object described in the String class, for example s.charAt(0); .
And if I do it like this Object obj = new String(); then only methods of the class Object will be available to me. Why is that? After all, I will refer to the created instance of the String class through a link?