Skip to main content

Posts

Showing posts from January, 2009

Member of class - Object Oriented Programming

Definitions Of Object: An object is combination and collection of data and code designed to emulate a physical abstract enmity.You can create number object of class. The properties, Variable and Methods define in class are called Members of class.

Private Member Of Class: Private member of a class have strict access control Only the member function of same class can access this members.Protected Member of Class: A Protected member is accessible to member of its own calls and to any of the class member in a derived class.Public Member Of Class: A public member of class can be accessible from any where.Public and Private Static Member Of a Class: The static member of a class can be access without creating a object of class. While to access other member of class you have to create a object of class. The public static member can be accessed using access specifier while private static member can be accessed only the member functions.Inheritance and Member Accessibility:
A private member is a…

Diffrent Type Of Inheritance- Object Oriented Programing

Following are different type of inheritance..
1) Single Inheritance:
Derivation of class from only one base class is called single inheritance.
2) Multiple Inheritance:
Derivation of class from several base class is called multiple inheritance.
3) Hierarchical Inheritance:
Derivation of several classes from a single class is called hierarchical inheritance.
4) Multilevel Inheritance:
Derivation of a class from another derived class is called multiple inheritance.
5) Hybrid Inheritance:
Derivation of a class involving more then one form of inheritance is called hybrid class.
6) Multi path Inheritance:
Derivation of a class from another derived classes which are derived from the same base class is called multi path inheritance.


Basic Concept Of Object Oriented Programming

Following are the basic concepts of object oriented programming.
1) Objects:
Object are the basic run timeentities in the object oriented system. They may represent a person, a palace, a bank account, a table data or anything that a program can handle. 2) Classes: A class encloses both the data and function that operate on the data into a single unit. 3) Data abstraction and Encapsulation: The wrapping of data and function in a single unit is know as encapsulation. It is a mechanism that associate into the single unit and keeps them safe from external interference and misuse. Abstraction refers to the act of representing essential features without including the background details or explanations. 4)Inheritance: Inheritance is the process by which objects of one class acquire the properties of objects of another class. 5) Polymorphism: Polymorphism means ability to take more then one form. For example as operation may execute different behaviour in different conditions. The behaviour depends on t…

Object Oriented Interview Question Part 1- Benefits Of Inheritance

Following are the benefitsof the inheritance...
Through inheritance we can eliminate the redundant code and extend the user of the existing classes.We can build program from the standard working modules that can communicate with the one another rather then having start writing code from beginning.It is possible to have multiple instances of objects of class without any interface.It is easy to partion the work.Object oriented system can be easily upgraded from the small to the large systems.Easily modifying and extending implementations of components without having to recode everything from scratch.

Happy New Year 2009

Hello Guys,

I am jalpesh vadgama wishing you a very happy and healthy new year ahead. Sorry i was busy with my projects so not able to post anything related to dot net. Now i am back with the all the things and promise to be regular post. If you want to listen anything from me then please post comment.

Last year was hectic to me as lots of things are going on now my house is also shifted and i have broadband connection at my home. We can have conservation regularly.