Well, that’s much easier to take in and understand don’t you think? We now have a class type that has a constructor that can take zero to many parameters and instantiate the object. We define our objects methods without the need to declare a function every time. And we can derive from a base class using extends and pass back parameters needed by the parent constructor using super.
Thanks for reading and keep building awesome.
Until next time!
P.S. You can also find me on Twitter: @ianaldo21