ankur trapasiya wrote:can anyone please clear my doubt ?
Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.
tkn = sc.next(".*");
withb2 += 4;
it is stll not compiling.b2 = b2 + 4;
everythings fine.b2 = (byte)(b2 + 4);
setSubset = (TreeSet<Integer>)setTimes.headSet(1600);
Tadeusz Kopec wrote:...
And one of the answers given as correct is:
Well, given o.code.length() == 1, o.bal == 2, o.rate = 1 and
this.code.length() == 1, this.bal == 1, this.rate == 2 this.equals(o) will return true but this.hashCode() == 1 and o.hashCode() == 2 which does not fulfill the contract.
...
For any non-null reference value x, x.equals(null) should return false.
Seetharaman Venkatasamy wrote:Welcome ...