Most object-oriented languages and systems provide which of these ways to create new objects?
(a) Instantiating a class using one of its constructors
(b) Cloning an existing object
(c) All of the mentioned
(d) None of the mentioned
This question was addressed to me in an interview for internship.
This interesting question is from The Generator Category, Factory Patterns and Singleton Patterns topic in section Visibility, Accessibility and Information Hiding of Software Architecture