Posts by Breno Fernandes • 1 point
1 post
-
0
votes1
answer58
viewsQ: What is the criterion of Java in having in some cases, a class in its API and in other cases an interface?
The Java API is immense, but some pre-defined features in it are implemented through a class and other functionality through an interface. What criterion used by Java to choose one or the other?…