Of course it works, why do you need a confirmation? The most known example is the "factory" method whose goal is to return an instance. It may be forbidden of creating an instance (CREATE OBJECT) from outside by declaring the class with the private or protected instantiation flag.
↧