If We use Internal Access specifier on Class A and Class B methods then Class A methods are accessible to Class B then these Class A methods is called as abstraction. and Class A and B methods can not accessible to Class C because Class c is different namespace that is called as encapsulation because Internal access specifier methods are only accessible to same namespace.We can be inherit the base class to same namespace derived class.

results matching ""

    No results matching ""