0

Program to create shape class,with subclasses circle,triangle, square with functions draw() and erase()

Create using polymorphism concepts

3rd Sep 2019, 5:38 PM
mary uiru
3 Réponses
+ 6
Hello, 😊 If you need help you can post the code you are struggling with!  • SEARCH for similar QUESTIONS or ANSWERS before posting  • Include relevant TAGS Do not ask someone else to do it for you!!?  • https://www.sololearn.com/post/75089/?ref=app  • https://code.sololearn.com/WvG0MJq2dQ6y/
3rd Sep 2019, 6:11 PM
Danijel Ivanović
Danijel Ivanović - avatar
0
I can't figure out how to use the polymorphism concepts
3rd Sep 2019, 5:52 PM
mary uiru
0
Public Shape ( String circleShape; String triangleShape; String squareShape; ) String circleShape=circle; String triangleShape=triangle; String squareShape=square; Public void draw (circle) Public static void main(String ()args) ) )
3rd Sep 2019, 6:48 PM
mary uiru