Question: which among the following can restrict class members to get inherited?
Answer: Which among the following can restrict class members to get inherited? Explanation: Private members of a class can't be inherited. These members can only be accessible from members of its own class only. It is used to secure the data.