Just out of curiosity, why can we declare Strings in Java like:
If String is a class, and to make an object with all other classes we need to write something like:
Java:
String str = "Cake";
If String is a class, and to make an object with all other classes we need to write something like:
Java:
Object muffin = new Object();