locked
OODP RRS feed

  • Question

  • Object Oriented Design Principles.. Whats this?
    Wednesday, March 14, 2007 11:41 AM

All replies

  • someone tel me the answer !
    Wednesday, March 14, 2007 1:25 PM
  • object oriented design principles is mainly based on the idea of an object.

    in real world an object can be anything which has some properties and some methods to change that properties. take the example of a cup which is full of tea. u may say that the property of the cup is that it is full of tea. and the methods to change that property may be anyone of the following

    * drink the tea

    *throw the tea

    *break the cup

    similarly, in the programming world, objects consists of data as their property and methods that change that property. the power of the object oriented language is that the data is safe as it can be changed only by means of known methods. object is a powerful tool for programming as it is very near to the real world. everything in this world u can classify as an object. object oriented designing has three main features

    * encapsulation

    *polymorphism

    *inheritance

    encapsulation is the binding of data and methods to change the data together

    polymorphism means taking more than one forms. u can use the same method to do different tasks depending on the input.

    inheritance means u can derive one object from another

    Wednesday, March 14, 2007 8:39 PM
  • U mean to say that its nothing but the OOPS concepts? Then whats the design principles in it?
    Friday, March 16, 2007 6:27 AM
  • object oriented concepts are used to program a problem in form of objects. these objects can be resused. that's one of the main aspect of object oriented principles.
    Friday, March 16, 2007 12:32 PM