What is the use of void before the method name?
Answers
Answered by
0
Answer:
In computer programming, when void is used as a function return type, it indicates that the function does not return a value. When void appears in a pointer declaration, it specifies that the pointer is universal. When used in a function's parameter list, void indicates that the function takes no parameters.
Similar questions
English,
1 month ago
Computer Science,
1 month ago
English,
1 month ago
Geography,
2 months ago
Math,
2 months ago
Social Sciences,
11 months ago
Physics,
11 months ago