Extends
Methods
setName(n)
- Description:
The main name.
- Source:
- Overrides:
Parameters:
| Name | Type | Description |
|---|---|---|
n |
string | Real name of person, the legal name. |
The Driver class extends the Person class to represent a driver.
It is used to store information about drivers, such as their license and surname.
The main name.
| Name | Type | Description |
|---|---|---|
n |
string | Real name of person, the legal name. |