-
Should i override Equals and hasCode methods while implementing Comparable interface??
somewhere I read we should override equals() and hasCode() methods while implementing Comparable interface... I could not understand why should i do so... Kindly help.. thx in advance.
-
-
What is the data type for the parameter of the sleep() method?
A) doubleB) intC) longD) float