Challenge 1: Associate Vehicle and Its Driver
In this challenge, you have to perform association between two classes in Java.
We'll cover the following
Problem Statement
You have to implement a Vehicle
class containing members i.e. id and model, and a Driver
class such that there is an association between them.
A Driver
has a driverName and a Vehicle
object.
Get hands-on with 1400+ tech skills courses.