DEV Community

Discussion on: Effective Java! Prefer Class Hierarchies to Tagged Classes

Collapse
 
robole profile image
Rob OLeary

In Figure, maybe you meant to declare the method as area()?

Collapse
 
kylec32 profile image
Kyle Carter

You are indeed correct, thank you for calling that out.