Thank you for answering the question!
for the CustomStringConvertible
This is what I was supposed to do with code, to follow the following steps:
Define a class called AboutMe
Add 3 variables age, firstName, familyName
Define an initializer for your variables within your class
Create a new object called 'Me' and initialize the variables
Create a custom description method to allow the following method call to work effectively print(Me)
Define another object called Friend using the initializer
Define another object called MeAgain using your details again
I'm not sure if I have done the code correctly and if there is something I missed or done wrong.
Topic:
Business & Education
SubTopic:
General
Tags: