Gaurav Dixit posted in the group Java Developer
Interface is Better Than Abstract Class
Java doesn’t have multiple inheritances, but the UI makes it easy to implement something like multiple inheritances without utilizing the extended keyword. If things don’t go as planned, you always need an interface. An abstract class does not give the liberty to have multiple modes, but they have abstract methods.
User Balance 4,367 / Gems
PHP Maven
User Badges
Keep in touch
Friends
Groups
Java Developer
Public Group
Recent Posts
Python match-case Statement
- May 11, 2024
100 NumPy exercises with solutions
- April 28, 2024
Python Conditional Statement if else
- April 16, 2024