Factory Function
When a function returns an object, we call it a factory function. It can produce object instance without new keywords or classes.
Ex:-
Factory Function with Parameter
Ex:-
Latest posts by rajeshkumar (see all)
- Git Error: Filename too long - May 15, 2023
- Oracle RAC: Script that duplicates a database using a physical standby RAC as source - May 15, 2023
- Protected: oracle-rac-fixes - May 11, 2023