0
Program to create shape class,with subclasses circle,triangle, square with functions draw() and erase()
Create using polymorphism concepts
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/
0
I can't figure out how to use the polymorphism concepts
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)
)
)