Java Self-learning notes
Q1 Summary of points
- Inheritance»Ko (subclass of Oya)
Inheritance> Mago (subclass of Oya)
this can be used by superclasses and subclasses
java.io.FileOutpuStream class is Subclass of java.lang.Object class
Java is “multiple inheritance” NG! !! Subclass can inherit attributes and operations of superclass In the reference variable of the superclass, Subclass object assignment OK!
- ——– TBE ————-