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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!