Connecting...

This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Java
For more information, please see full course syllabus of Java
Java Polymorphism
Lecture Description
In this lesson our instructor talks about polymorphism. First, he talks about what is polymorphism and its role in programming. Then he discusses abstract classes, concrete classes, and abstract class polymorphism example. He finishes the lesson with seven complete example videos.
Bookmark & Share
Embed
Share this knowledge with your friends!
Copy & Paste this embed code into your website’s HTML
Please ensure that your website editor is in text mode when you paste the code.(In Wordpress, the mode button is on the top right corner.)
×
Since this lesson is not free, only the preview will appear on your website.
- - Allow users to view the embedded video in full-size.
Next Lecture
Previous Lecture
1 answer
Mon Apr 24, 2017 5:18 PM
Post by Emanuel Fonseca on April 24, 2017
Overriding is a part of Polymorphism correct? Im looking for information on overriding the toString method?
0 answers
Post by Maury Hillstrom on October 2, 2015
Hi Timothy, it's basic geometry. You need the rectangle height & width (x, y) to calculate area, but for a circle or sphere, all you need is radius.
0 answers
Post by Timothy White on October 2, 2015
Why do you need x and y position coordinates if you just need area and volume (and are not actually drawing the shape)? Also, why do you have no z-coordinate for 3-dimensional shapes?