0
Plz check my error on this JAVA program. I am a beginner
Error : Circle is not abstract and does not override abstract method area() in Shape Code : https://code.sololearn.com/cWLda2PIcxYX/?ref=app
3 Answers
+ 2
* The area() method does not take a parameter (check the abstract definition)
* the derived classes need a constructor. This constructor sets the width
+ 2
Looks okay đ
(I tested it with the example input from the task description)
+ 1
Plz check now