Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
what exactly is it that we inherit from an interface anyways
, a class extending an interface is only forced to provide a body to all the methods of the interface
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
"I'm not back." - Bill Harding, Twister
Agreed Jim! I was waiting for it.an interface can extend another interface.
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
"I'm not back." - Bill Harding, Twister
"everywhere you may use an ActionListener you may use a myFrame."
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
"I'm not back." - Bill Harding, Twister
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Originally posted by Rick O'Shay:
IS-A is a language independent concept. Consider a fictional language Latrine that creates classes dynamically at runtime:
Boose = factory.create( Banana, Moose );
The language says that a Boose may now be passed to any method that accepts a Banana, Moose or a Boose. In other words, a Boose IS-A Boose and a Banana and a Moose.
A implementing interface Juice in Java IS-A Juice. The IS-A relationship has nothing to do with the mechanics of inheritence per se.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
The IS-A relationship has nothing to do with the mechanics of inheritence per se.
Tony Morris
Java Q&A (FAQ, Trivia)
interface implementation is an IS-A relation.
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]