Comment Comment by slavik81 Not just similar. All provable properties must be the same.As I understand it, Java's Object.toString() is an example of an LSP violation because different subtypes of Object return different strings. parent slavik81 6 years ago
As I understand it, Java's Object.toString() is an example of an LSP violation because different subtypes of Object return different strings.