Showing posts with label Classes. Show all posts
Showing posts with label Classes. 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.

Saturday, April 17, 2010

Classes in OOP

A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.

Sunday, April 11, 2010

OOPS-Building blocks

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