What is the difference between "extends" and "implements" in JAVA? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: What is the difference between "extends" and "implements" in JAVA? (
/showthread.php?tid=451867)
What is the difference between "extends" and "implements" in JAVA? -
Cameryn - 18.07.2013
I'm developing a plugin in Bukkit and I'm stuck on figuring out the differences in them. They seem to act likewise.
Re: What is the difference between "extends" and "implements" in JAVA? -
Bakr - 18.07.2013
Is ****** down or did you just decide to be one of those people who create a thread that has been answered thousands of times all across the Internet?
Re: What is the difference between "extends" and "implements" in JAVA? -
TommyVer - 18.07.2013
Quote:
Originally Posted by Bakr
Is ****** down or did you just decide to be one of those people who create a thread that has been answered thousands of times all across the Internet?
|
post count hunter much?
Re: What is the difference between "extends" and "implements" in JAVA? -
CJ101 - 18.07.2013
Quote:
Originally Posted by Bakr
Is ****** down or did you just decide to be one of those people who create a thread that has been answered thousands of times all across the Internet?
|
Last time i checked, this is a 'everything or nothing' section.
Re: What is the difference between "extends" and "implements" in JAVA? -
Ibrahim.E - 18.07.2013
Quote:
Originally Posted by cj101
Last time i checked, this is a 'everything or nothing' section.
|
True.
Re: What is the difference between "extends" and "implements" in JAVA? -
Mauzen - 18.07.2013
extends is to inherit from an other class, implements is for interfaces.
Re: What is the difference between "extends" and "implements" in JAVA? -
Cameryn - 18.07.2013
Quote:
Originally Posted by Mauzen
extends is to inherit from an other class, implements is for interfaces.
|
So like, I can't use polymorphism on an interface? Sorry, I don't quite understand Java yet.
Re: What is the difference between "extends" and "implements" in JAVA? -
Bakr - 19.07.2013
Quote:
Originally Posted by cj101
Last time i checked, this is a 'everything or nothing' section.
|
This whole topic is utter laziness. And remember, laziness of today's people is why America is heading in the direction it is.