Question: Question 1 8 ( 2 points ) You want all the clients using class A to use the same instance of class A , what

Question 18(2 points)
You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal?
Question 18 options:
apply the Factory Method pattern to class A
apply the Singleton pattern to class A
mark class A abstract
markclassAfinal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!