Hi ,
I have following doubts.Can anyone clear this ?
1. In 1.4 , is "assert" a keyword ? I read in one of the links that we can compile using 1.3 or 1.4 option. The second one will consider "assert" as keyword . Is this correct ? If yes , are there other new additions to Keywords ?
2. This question regards to Bill Brogden exam cram questions .
Object A = new Long(5);
Then it goes on to say A.equals(Long object) will invoke the "equals" of Long class and not "equals" of Object class. IS this because eventhough A is reference of type object , since it is refering to a Long object , A.equals will invoke Long.equals ? Can someone explain more ?