Monday, 25 January 2016

What is OOP?

Defination of OOP:

Oop is an Object Oreinted Programming Language, basically it consist of Objects and Classes first we need to know the meaning of Object

Object:

           Objects are key to understanding object-oriented technology. Look around right now and you'll find many examples of real-world objects: your dog, your desk, your television set, your bicycle.

now you have basic idea about object.Second thing is Class so what is Classes in OOP?

CLASS:

The class is one of the defining ideas of object-oriented programming. Among the important ideas about classes are:
  • A class can have subclasses that can inherit all or some of the characteristics of the class. In relation to each subclass, the class becomes the superclass.
  • Subclasses can also define their own methods and variables that are not part of their superclass.
  • The structure of a class and its subclasses is called the class hierarchy.
Opp is basic of all programming Languages because almost all Languages are Object oreinted Languages i.e Java, c# etc 


0 comments:

Post a Comment