Class: Its represents the real life entity (such as Dog,Tiger etc are come together under the namespace Animals).
Object: Instance of a class( For Eg. Jimmy is the instance of Dog)
Access Specifier:
- Public - Can be accessed by outside of the class members
- Private - Accessed By memeber of that class only
- Protected - Same as Private as well as accessed by member of the inherited class
- Internal - accessed by members of the same assembly.
- Proctected internal - Contains Both specifier characteristics.
- Friend - Accessed by memebers with in the project.
Abstraction or Data hiding: To protect the member variable access by using access specifier. its called Abstraction .
Shared Functions: Which is access with out instantiate in C# its called Static functions.
Overloading: To assign the more than one actions to the function based on input parameters.
Inheritance: To derive the base class members to derived class
- Abstract Class: Which is not instantiated directly. (VB.Net keyword Mustinherite.C# keyword abstract)
- Sealed Class: Which is not inheritable by derived class.(VB.Net keyword NotInheritable. C# keyword sealed)
0 comments:
Post a Comment