I’m new to Java programming and need to create a method called sizeofCarPark that returns the amount of cars that are stored in a Car Park. I’d appreciate some pointers in what I need to do.
I’m new to Java programming and need to create a method called sizeofCarPark that
Share
What kind of an Object is a Car Park?
ArrayListalready has asize()method.Example: