Question: 10 B4. Based on class design guidelines, answer the following questions: a. Explain the recommendations regarding Constructors. [3 marks] b. Explain how to prevent the
10 B4. Based on class design guidelines, answer the following questions: a. Explain the recommendations regarding Constructors. [3 marks] b. Explain how to prevent the user from creating object of a class. [2 marks] c. Explain, when methods and variables of a class should be declared as instance or static. [5 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
