I think I can understand your question in more practical way, as I also got the same doubt before 2 year.
Hi
Rajesh Kuma r ,
Abstract class can be used in this particular real time Project.
You can take an example of Mobile Company Redmi.
Now they have launched Redmi1, 2,3,4 ....Right?
In all the mobile they have
Call and Message functionality
but the
Size of mobile, Storage and Camera functionality is not common.
So Call and Message method will be common to all the Redmi phones (i.e Redmi 1, Redmi 2, Redmi 3S, redmi 4, 4A) but the Size of mobile, Storage and Camera functionality will not be shared.
So, size of mobile, Storage and Camera functionality method we can make abstract method.
Therefore in abstract class you will have abstract method (related to size of mobile, Storage and Camera) and non abstract methods (Call, Message)
Hope I have cleared your
doubts . :)
Thanks & Regards,
Amatya
Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks
Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator