+1 vote
in Software Architecture by (75.2k points)
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

1 Answer

0 votes
by (46.2k points)
The correct choice is (c) All of the mentioned

The best I can explain: All the mentioned are the two ways to create new objects.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...