Interfaces give more flexibility to Java developers than concrete classes do. I am new to the Struts framework, and I’m confused about the Struts developers’ decision to make ActionSupport a class. In my opinion, it should be an interface. Why did they do that?
Interfaces give more flexibility to Java developers than concrete classes do. I am new
Share
You should read the documentation here
It is actually a default implementation for the interface
Action. And since it is an implementation it cannot be an interface because interfaces are 100% abstract.