Dear Sir,
I read somewhere that we can achive abstraction using abstract class.
Is there any difference or both are same.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaish MathewsRank #225 · 11K reputationPosted Dec 11, 2019, 9:40 PM EST
Above you see that abstarct class not revealing the implementation details of method area(). An inherited class can implement area(). In above code, class Rectangle has implemented it's own areas().
Krishna Rajput SinghRank #605 · 4K reputationPosted Dec 11, 2019, 8:52 PM EST
ashutosh parmar93 reputationPosted Dec 11, 2019, 9:12 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Dec 11, 2019, 9:35 PM EST
Ashutosh GuptaRank #805 · 2.9K reputationPosted Dec 11, 2019, 9:51 PM EST
Roshan PatilRank #9,295 · 208 reputationPosted Dec 12, 2019, 7:30 AM EST