In order to perform type validation, we create two interfaces Input and Output.
Input
Output
They are empty interfaces or "Marker interfacesarrow-up-right"
public interface Input {} public interface Output {}
It's used for runtime type checks.
Last updated 2 years ago