Given:public class DataCache {private static final DataCache instance = new DataCache ();public static DataCache getInstance () {return instance;Which design pattern best describes the class?
A. Singleton
B. DAO
C. Abstract Factory
D. Composition
Given:public class DataCache {private static final DataCache instance = new DataCache ();public static DataCache getInst
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Given:public class DataCache {private static final DataCache instance = new DataCache ();public static DataCache getInst
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!