Abstract Classes vs Interfaces (Java)
A simple example that demonstrates the use of both Abstract Classes and Interfaces. The two can be used in many different ways, either exclusively or in combination. We chose to keep them separate in order to demonstrate the main differences.
Tag: abstract class vs interface java, java, programming, abstract class, interface
Xem thêm bài viết eSports: https://aomalley.org/esports
Nguồn: https://aomalley.org/
Ok, but it's possible to change the abstract class to do the same as the Interface. If we change the method "paymentForWork", to be abstract and implement it in every subclass, isn't it the same? Or I'm in mistake?
woah!thanks man
great explanation!
Finally i get it! after 5 video searches😅
Great video! Could anyone please tell me what IDE is being used in this video?
Mate this is so good, i am the fun of WWE and I am learning java, can it be more better? 😁
you fucking nailed it.
Watched the first video and Subscribed instantly. Great Explanation.
10/10 video mang! well done
First glance a wrestler as an example what 5 minutes later it make all since now thanx bro for the video hope you upload again
https://freshlybuilt.com/difference-and-similarities-between-interface-and-abstract-class-in-java/
dude, you made this simple. Thanks alot!
Great video
Similarities:
cannot be instantiated
have abstract classes
Difference:
abstract classes contain at least ONE abstract method
interface contains only abstract methods
is it using interface class in NetBeans?
This was a very helpful video in understanding what abstract classes and interfaces are in Java!
Thank you it was really helpful
Thank Youuuuuu!
so what if an abstract class only contains abstract methods, is there a difference between interface?
Damn it was really good. And using wwe as an example is a great idea.😁
Wonderful !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You should not be using the word 'Generalised' methods, as these will be easily confused with the use of generics.
thank u bro, I have a final tomorrow and this was really helpful
just commenting so you can make more money on ads. thanx for the help
the superhero logo looks like it has a giant nipple on it's chest
best explantion on this topic , subbed
Haha bro you nailed it. Very well explained. Thanks!
love it, thank you <3
hello
when I implements my main class, the subclass underline error. idk why please help me
example: class StoneCold implements wrestlers{ //StoneCold is underline and say error
omg this is the best abstract class java i've seen on youtube thankss
Easy to understand and well explained concepts
❤️
Love the video but I just don’t know if I really need to use abstract or interface since it seems to be unnecessarily strict when I can treat a regular class like an interface but have the added convenience of being able to add a little extra background code to methods as well
You're the hero we need!
i have never understood this clearly in any youtube video, thank you
Wow! You’re my savior!!! Very helpful video 🙏
So, just to clarify, they're used to save time when implementing the methods and bodies of subclasses?
Such a wholesome intro. You have to make more videos or even a series.
Where is John Cena? lol
Was the 1000st subscriber ^^