أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Void methods are returnless methods that encapsulate and execute some of code that dose not return a value or object.
You can make it public (juust like any object or variable in OOP) to access it any where in the project designed in OOP.