Java - Difference between "return object" and "return (object)" -
is there special difference between (maybe compiler level?)
public byte[] getsalt() { homecoming salt; }
and
public byte[] getsalt() { homecoming (salt); }
no, unless typecasting..
public byte[] getsalt() { homecoming (byte[])salt; }
java
No comments:
Post a Comment