Object Oriented Programming

From the word object,it is understood that you can touch and feel something from it. But unlike in the real world, object is different in programming.

A couple of things to remember in Object Oriented Programming are the following:

  • State 
    • also known as attributes
    • similar to variables (part of your object)
  • Behaviour
    • What your Object can do
    • Methods (part of your object)
      • Non Returning
      • Returning
  • Class
    • the blueprint of your program
  • Constructor Method
    • should be the same of the class and file name
    • they are the ones who makes up the object
    • is used to initialize the behaviour
  • Instantation
    • used in creating a new object
  • Parameters
    • used to pass or receive values
    • enclosed with an open and close parenthesis ()
Try to familiarize these words... for a better future in programming ;)

No comments:

Post a Comment

Extended Search

Custom Search
Hello World