What is the role of the keyword void in declaring functions?

Short Answer
Views 9

Answer:

At the time of function declaration, the keyword void signifies that the function has no return type, meaning the function will not return any value.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.