UML diagram for the Car1 class:




Car1

+ owner: String
+ license: String
+ speed: int



+ readInput() : void
+ toString() : String