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

Monday, April 12, 2010

OOPS-Building blocks-2

Continuing from the last post, we will look at what it means with
  • abstraction
  • polymorphism
  • encapsulation
  • event

Sunday, April 11, 2010

OOPS-Building blocks

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

Object Oriented Programming (OOPS)

OOPS is the Computer programming concept that breaks the problem into smaller objects similar to real life. Traditionally, computer programming used to emphasize on solving the problems with functions and procedures. For every task there would exist a function. This was good but was confusing with complex products and softwares. Moreover, the data used to suffer because of this approach.