Answer following questions about the code given below: 1. Id…

Answer following questions about the code given below: 1. Identify and fix an error in this code (1 pt). 2. Suggest an improvement for User class to enhance data hiding (1 pt).3. Function getName() is an example of which OOP concept? What is the benefit in context of this code (1 pt)?4. Assume student1 is an object of Student class. Write a statement that will assign it name “Elon Musk” (1 pt).5. If a class HonorStudent extends from Student which data members will be inherited. Justify your answer (1 pt). */