Graderpractice for programmers

Back to 273387 MAD 63 - C5 Classes

B. Returning full name

Problem

Add a function to the Student class that returns the full name of the student. Example:

let peter = Student(id: 5, firstName: "Peter", lastName: "Parker") 
print("Name: " + peter.fullName())
Submit only the class file

Examples

Submit your solution

swift