android-interview-questions
android-interview-questions copied to clipboard
clarification on Integer class Hierarchy
trafficstars
Hi, its written ,-> It should be noted that standard class hierarchy does not apply to generic types. It means that Integer in List<Integer> is not inherited from <Number> - it is actually inherited directly from <Object>
but when see the class hierarchy it clearly extending The Number class can you eloborate on this , And thanks for collecting all the resources ,