You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In polymorphism.go file, the circle, the trapezium and the ellipse override area() method, but they do not have any interface to inherit and client code can not use common interface to interact? So that they do not rely on polymorphism principle.
Hope you correct it as soon as possible!. Thank
The text was updated successfully, but these errors were encountered:
In
polymorphism.go
file, thecircle
, thetrapezium
and theellipse
overridearea()
method, but they do not have any interface to inherit and client code can not use common interface to interact? So that they do not rely on polymorphism principle.Hope you correct it as soon as possible!. Thank
The text was updated successfully, but these errors were encountered: