To make the constructor private, you need to use _ (underscore) which means private . The example below creates a class named MyUtils with a private constructor as the only constructor.
To make the constructor private, you need to use _ (underscore) which means private . The example below creates a class named MyUtils with a private constructor as the only constructor.