Interfaces and Inheritance | 飛奔嘅蝸牛

Interfaces and Inheritance

Interfaces and Inheritance


You saw an example of implementing an interface in the previous lesson. You can read more about interfaces here—what they are for, why you might want to write one, and how to write one.


This section describes the way in which you can derive one class from another. That is, how a subclass can inherit fields and methods from a superclass. You will learn that all classes are derived from the Object class, and how to modify the methods that a subclass inherits from superclasses. This section also covers interface-like abstract classes.


Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Copyright&amp;nbsp;&amp;copy;&amp;nbsp;2018&amp;nbsp;飛奔嘅蝸牛 &amp;nbsp;|&amp;nbsp;粤ICP备11087528号 &amp;nbsp;|&amp;nbsp;Powered by WordPress

&amp;Delta; Top