What is the void method in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at University of California, San Diego (UCSD), Lives in San Diego, CA
From Wikibooks, open books for an open world. void is a Java keyword. Used at method declaration and definition to specify that the method does not return any type, the method returns void .
2023-05-11 14:10:01
评论(499)
Helpful(122)
Helpful
Helpful(2)

Emma Johnson
QuesHub.com delivers expert answers and knowledge to you.
From Wikibooks, open books for an open world. void is a Java keyword. Used at method declaration and definition to specify that the method does not return any type, the method returns void .