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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Roshan PatilPosted Dec 12, 2019, 12:30 PM
Ashutosh GuptaPosted Dec 12, 2019, 2:51 AM
Jaish MathewsPosted Dec 12, 2019, 2:40 AM
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().
Mageshwaran RPosted Dec 12, 2019, 2:35 AM
ashutosh parmarPosted Dec 12, 2019, 2:12 AM
Krishna Rajput SinghPosted Dec 12, 2019, 1:52 AM