Which two implementation details are necessary for the Cementmanager class?

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?

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.
All the accessor and mutator methods in CommentManager must have the static modifier
in their declarations.

B.
The comments must be assessable directly only within CommentManager.

C.
CommentManager should be a singleton object.

D.
The storage mechanism implemented in CommentManager must be private to
CommentManager.



Leave a Reply 1

Your email address will not be published. Required fields are marked *