-
Is void is a keyword in Java?
编译器
关键字 因为它
Questioner:Zoe Davis 2023-05-05 14:09:54
The most authoritative answer in 2024
-

-
Amelia Wilson——Studied at the University of Toronto, Lives in Toronto, Canada.
Void is the
Java keyword that tells the compiler that a function will not be returning any value after it is executed. Return is the
Java keyword that tells the compiler what will be returned when a function is finished. ... However, calcSquare() will not be
void because it does return a value.
read more >>
About “编译器、关键字、因为它”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.