NetCreativeMind interview question

Tell Inheritance and Encapsulation.