Wrapping Up

Classes, hierarchies, and method overloading should no longer be mysterious. Use visibility restrictions with private and protected, or inherit from normal and abstract types to tighten your code. Structs can give a performance benefit in certain situations.

In the next chapter, we’ll look at modules, which structure code even at a higher level.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.205.27