What is the difference between "extends" and "implements" in JAVA?
#1

I'm developing a plugin in Bukkit and I'm stuck on figuring out the differences in them. They seem to act likewise.
Reply
#2

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?
Reply
#3

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?
Reply
#4

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.
Reply
#5

Quote:
Originally Posted by cj101
Посмотреть сообщение
Last time i checked, this is a 'everything or nothing' section.
True.
Reply
#6

extends is to inherit from an other class, implements is for interfaces.
Reply
#7

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.
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)