converting to the same class while comparing (equals(Obj)) & Adding a final class

1.) Converted 'success' and 'error' to String class while comparing it with another string while applying equals(Obj).

2.) Added a final class instead of implementing a constant interface.
Reason for make the interface as final class?