阅读背景:

Object类型的数组,并比较数组中的对象

来源:互联网 

I am creating an array of type Object. I have two different classes, Employee and Person which have simple attributes like name, salary (Employee) first name, date of birth (Person). I need to add some Employee and Person objects into my array and compare certain things within the array. Ex, retrieving the youngest Person from the array.I am creating an array of type Object. I have t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: