Extending classes (super)

Important Suggestions

Extending classes in Java is very useful when classes with similarities are being written. Instead of having 10 classes about a Dog, Cat, Bird, Fish, etc..., a class Animal can be written to store the basics of the animal that pertain only to that animal.

Lesson

Extending classes is a very useful programming technique that a majority of professionals implement. It cleans up the amount of code and allows for a more elegant design.
Error

You need to log into your account to post comments!Sign In

Comments: 3 comments posted


rhemau1/17/13 10:22 AM

<p> how to create a student records using jcreator?</p>

rhemau1/17/13 10:20 AM

<p>where did you get the private?and what is the output of that?</p>

rhemau1/17/13 10:19 AM

<p>where did you get the private?and what is the output of that?</p>