Variables : Variable is nothing but a named memory location, to access the variable (named_memory), we need a variable name.
- Local Variable
- Global Variable
- Parameterized Variable
- Static Variable
- Instance Variable
Functions / Methods :
- Function is nothing but a block of statement(s) to perform a specific/multiple operation(s)
- Method is nothing but function defined inside class.
Class : Class is nothing but collection of relative state and behavior
- Relative state is nothing but variables defined inside Class
- Behavior is nothing but methods(functions defined inside class)
Comments
Post a Comment