In a class if private data member is declared then how to set data to that private data member?

Correct Answer: By using method The method used to set the data is called setter method

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion