Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are void methods in object oriented design?

user-image
Question added by dana tutunji , Architect , Helou Trading Co
Date Posted: 2013/07/03
Tarek Sultan
by Tarek Sultan , Software Project Manager , Geoking

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.

Object Oriented Design is a process of planning a software system where objects will interact with each other to solve specific problems.
The saying goes,Proper Object oriented design makes a developer's life easy, whereas bad design makes it a disaster, Void methods in object oriented design are actions to perform a specific task does not return a value.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.