Assertion: interface | /r/SimilarTo | class
Facets:
Source sentences:
text: An interface in Java is similar to a class, but the body of an interface can include only abstract methods and final fields (constants).
text: An interface in Java is similar to a class, but the body of an interface can include only abstract methods and final fields (constants).