Interface
posted 22 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi,
Can sombody tell me the difference between implementing an interface and extending an interface.
Thanks,
Prabha
Can sombody tell me the difference between implementing an interface and extending an interface.
Thanks,
Prabha
posted 22 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Welcome to JavaRanch, Prabha Dhandapani!
Note that The Beginners Forum is likely a more appropriate place to ask such a question. This JavaRanch forum, where we are now, was intended for questions related to JavaRanch and the Big Moose Saloon.
Note that The Beginners Forum is likely a more appropriate place to ask such a question. This JavaRanch forum, where we are now, was intended for questions related to JavaRanch and the Big Moose Saloon.
Dirk Schreckmann
Sheriff
Posts: 7023
posted 22 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Concerning answering your question, perhaps a quick example with less than complete descriptions will help.
Consider the following interface definitions, which exemplify one interface extending another.If a class is defined to implement InterfaceB, then it must implement all methods declared in InterfaceA and in InterfaceB (else the class must be declared abstract).
If something isn't clear, just ask another question.
I hope to see you 'round the Ranch!
Consider the following interface definitions, which exemplify one interface extending another.If a class is defined to implement InterfaceB, then it must implement all methods declared in InterfaceA and in InterfaceB (else the class must be declared abstract).
If something isn't clear, just ask another question.
I hope to see you 'round the Ranch!
Prabha Dhandapani
Ranch Hand
Posts: 70
posted 22 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello Dirk Schreckmann,
Thanks a lot for the explanation. My doubt has been cleared.
Thanks a lot for the explanation. My doubt has been cleared.
| Don't MAKE me come back there with this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |






