What is meaning of Void

please explain

Your Answer

Void actually means null or nothing,it is generally used in that types of function where we have to return nothing.And if anything is tried to return then it will show an error.It is used in almost every object oriented programming languages as well as in procedural oriented languages as well.
For example-Below I am showing code in Java language
class B{
void show()
{
System.out.println("Hello World");
}}
class A
{
public static void main(String[] args){
B b=new B();
B.show();
}
}
Hope this will help and I have answered your question to your requirements.For any further query feel free to post your questions.

Object Oriented Programming

Didn't get the answer.
Contact people of Talent-Object Oriented Programming directly by clicking here