[Component Based] You can define local procedures which are only accessible from inside the component. [Object Oriented] 
You can define private methods which are only accessible from inside the class.