We can do:
String string = \"ourstring\";
But we can\'t create objects like this for user defined classes:
UserClass uc=\"\";>
UserClass uc=\"\";
"" is syntactic sugar for returning a String object from the interned String pool.
""
String
Consider it as the exception rather than rule. Regular object assignments need to take the form
MyObject myObject = new MyObject();