0

I failed to solve this task. 'I have a List<Car> where a car is an object with carNumber and kmPassed props. Return a Car with max kmPassed value.' I know how to find min/max in array but how to find it in Car object?

Ihor Patsian
  • 1,288
  • 2
  • 15
  • 25
JohnPix
  • 1,595
  • 21
  • 44

0 Answers0