Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
GitHub / Omkar3114 / Number-of-sides-for-shapes
Define an abstract class named Shape that contains an empty method named numberOfSides().Define three classes named Trapezoid, Triangle and Hexagon such that each one of the classes extends the class. Shape. Each one of the classes contains only the method numberOfSides() that displays the number of given geometrical figure. Demonstrate how the trapezoid, triangle and hexagon classes can be instantiated and their methods can be tested.
JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omkar3114%2FNumber-of-sides-for-shapes
Stars: 0
Forks: 0
Open Issues: 0
License: None
Language:
Repo Size: 3.91 KB
Dependencies: pending
Created: about 3 years ago
Updated: 8 months ago
Last pushed: about 3 years ago
Last synced: 8 months ago
Topics: abstraction, extends