toString() is a method in every object and it returns a string representation ofthe object
"if S is a subtype of T, then objects of type T may be replaced with objects of type S" is Liskov Substitution Principle
Imported from external platform