Showing posts with label Inheritance. Show all posts
Showing posts with label Inheritance. Show all posts

Monday, April 19, 2010

Inheritance

As we have already discussed in the previous post, OOPS characterizes objects by their class. So, if you only know the name of the class, you can name some of the characteristics of an object, such as even if you don't know what a BMW is, if someone tells you that it belongs to the class car, you would know the basic characteristics.

Sunday, April 11, 2010

OOPS-Building blocks

Here are the basic blocks:
  • Class
  • Objects
  • Methods
  • Inheritance
  • Polymorphism
  • Abstraction
  • Event
  • Encapsulation