Commit Graph

3 Commits

Author SHA1 Message Date
Willy David Jr
49c2c7164a Corrected enum code declaration. (#32854)
* Corrected enum code. Cannot declare:
public enum phylum;
Since this code will produce an error. If someone will copy the same code, it will not compile and run. I updated the code so that when someone will copy the code, it will not produce an error.

* I also updated the spacing and tabbing on code.
* Corrected the constructor DefineAnimal to Animal since the name of the class is Animal and DefineAnimal will produce an error.
* Remove enum on parameter of constructor since this will produce an error.
* Corrected class Dog as public enum breed will produce an error.
2019-06-27 23:39:32 -07:00
Karol Skrobot
4e92b01111 update index.md (#20623)
Added "no multiple inheritance" to Rules of Inheritance.
2018-10-31 21:08:37 -07:00
Mrugesh Mohapatra
da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30