Answers for "what is the difference between private and public functions"

1

public vs private functions

A private function can only be used inside of it's parent function
or module. 
A public function can be used inside or outside of it. 
Public functions can call private functions inside them, however,
since they typically share the same scope
Posted by: Guest on January-11-2021

Code answers related to "what is the difference between private and public functions"

Browse Popular Code Answers by Language