Object Oriented Programming

Definition of Object Oriented Programming : 
Java is a simple,easy to understand,object oriented programming language in use. It is a language of choce to write programs to run on a wide variety of operating environments. It was developed at Sun Microsystems by James Gosling and his team in 1991 . 

In a simple meaning, Object Oriented Programming(OOP) is a programming technique that uses "objects" to design the applications and computer programs.

It also can be define as a type of programming where the programmer can define data types and types of operations, which will be performed on the data structure.

Data Structure ------- Data                   Data type       Type of Operations
                                  -StudentNo             int              Sort student list by StudentNo
                                  -Mark                    float             Calculate

Advantages of using OOP
    1) Code extensibility 
        -ability to add codes,which are already existing and consistent with needs.

    2) Code reusability
'       -Existing code can be tested first before its in inherited from previous module.
        -This will save cost and time needed to develop software.
        -With this method,it will help to increase programmer's productivity.
 
    3)Represent real world
        -using object oriented concept,it will assist the programmer in creating a module because data ise        represent real situations.
        
    4)Data security
        -the use of encapsulation concept has made data to be protected from misuse by an unauthorized  person.


      OBJECT
      It is explain about many thing.
      example : 
       Student,Car,Circle,Rectangle,Food
      An object consist Data and Method.
     
      










      CLASS
       A set of objects that have similar attributes(characteristics, which can be seen.) and methods. Attributes and methods of a class can be used by each object from that class.

   


so,until here our lesson for today. i will continue this chapter on the next post . wait and see yeah ! 
by,
Miss Najwa Syazwani



Comments

Post a Comment

nak komen? silalah :)

Popular Posts