In statement2 if i give System.out.println(null) it gives me a compiler error
But which overloaded method would a compiler call since null does not belong to any type ?
According to me in statement2 the compiler reads the null keyword has to be appended to stmt , so the compiler should give me an error . However the compiler gives me null null as output .
SOP treats null in a special way. It converts them to "null" strings when concatenated with other
string types.