
what 2 access modifiers that can encapsulate the attributes of class?? and what is the concept of printf?

Hello Friend,
Public and Private can encapsulate the attributes of class.
Printf formats the strings of characters and numbers and display it on the console.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.