first of all, we have to understand what is object?
object which has two features i.e. state of the object and behavior of the object.
let us explore the e.g. dog
dog has state like color, breed, gender, name ,hungry. i think these are the possible states in case of dog,while for behavior its barking, taming tail, playing.
similarly, all this happen in programming we first write down all possible state which relate with that object then write the program with help of syntax assigned,.
In computer programming their is state cd. fields and behavior cd. methods.
the process which hide state or feild and allow or access only methods that is cd. data encapsulation.
That is sufficient to understand what is object and how to write program object oriented based.
In next post i will come with some example generate by me , if i struck in any problem then please correct me at that place , feel free to give your suggestion regarding my explaination...
ANkita gupta
27-Apr-2015John Smith
27-Apr-2015http://www.mindstick.com/Articles/74da6398-74cd-4f47-be3c-5511439bf88e/Introduction%20to%20OOPS%20Object%20oriented%20Programming%20System#.VT4GEZMSwX8
http://www.mindstick.com/Articles/241cefdd-8815-45ec-bdb4-9f19caea1303/Introducing%20Polymorphism%20C#.VT4W7JMSwX9
http://www.mindstick.com/Articles/98d42f70-9ece-4a8a-aea5-91f0e31828c5/Inheritance%20in%20C%20Sharp#.VT4GG5MSwX8
Anonymous User
27-Apr-2015Samuel Fernandes
27-Apr-2015