What is different between inheritance and encapsulation?

1 answer

Answer

1240959

2026-08-16 03:20

+ Follow

wrapping up of data and function into a single unit is called encapsulation where polymorphism is the ability to take more than one form

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.