Create an interface named ‘Figure’ with an abstract void method ‘shape()’. Now create two classes ‘Rectangle’ and ‘Triangle’ i | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Create an interface named ‘Figure’ with an abstract void method ‘shape()’. Now create two classes ‘Rectangle’ and ‘Triangle’ i

12th Apr 2021, 5:27 AM
aneesh sai eruganti
aneesh sai eruganti - avatar
2 Answers
+ 3
Post your attempt or do it yourself. Also, complete the question. https://www.sololearn.com/discuss/1316935/?ref=app
12th Apr 2021, 5:31 AM
Soumik
Soumik - avatar
0
this question is incomplete which means i can't steal this assignment
12th Apr 2021, 6:33 AM
Rellot's screwdriver
Rellot's screwdriver - avatar