A simple question

Hello. I am curently learning about private classes and public ones.My question is , when i declare my variables private , should is put my functions private aswell or should i leave them in public? Thank you
Put functions you want to be able to call public. Put functions you want only that class itself to be able to call private.

If you make every function private, the class becomes rather useless.
Thank you , i will give a try now.
Topic archived. No new replies allowed.