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,270
  • 2
  • 15
  • 24
JohnPix
  • 1,131
  • 13
  • 32

0 Answers0