You are designing a new subsystem to store and scratch for user commands in a fashion company’s website. On class, CommentManager, is responsible for accessing comment data and providing read-only access to other objects in the subsystem.
Which two implementation details are necessary for the Cementmanager class?
A. The storage mechanism implemented in CommentManager must be private to CommentManager.
B. All the accessor and mutator methods in CommentManager must have the static modifier in their declarations.
C. The comments must be assessable directly only within CommentManager.
D. CommentManager should be a singleton object.