In java it's possible to do that;
String a = "aaaa";
Integer b = 1;
and also that;
String a = new String("hello ");
Integer ad = new Integer(8);
first question : why is that possible and what's name of this standard ?
second question : explain how to work this special case ?
Third question : Is possible to do the same with my own object ? for example :
Person p = "Med";
in place to do that Person p = new Person("Med");