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

25th Aug 2021, 6:57 PM
Muhammed Niyas
Muhammed Niyas - avatar
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
25th Aug 2021, 7:01 PM
Lisa
Lisa - avatar
+ 2
Looks okay 👍 (I tested it with the example input from the task description)
25th Aug 2021, 7:15 PM
Lisa
Lisa - avatar
+ 1
Plz check now
25th Aug 2021, 7:12 PM
Muhammed Niyas
Muhammed Niyas - avatar