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