Instance Variables
The height h and displacement d are instance variables of the Parallelogram class: class Parallelogram extends Quadrilateral { private int h, d; public int getHeight() {…} public int getDisplacement() {…} … }
Previous slide
Next slide
Back to first slide
View graphic version