New course! Every coder should learn Generative AI!
Try a free lesson0
Sir In (java) calling method, how can i determine if i am using a STATIC or VOID as a returnType? thank you,,
5 Answers
+ 8
Okay, not the name of the function. But when you declare the function, it is part of the declaration, the return type (think: how do you declare main?)
+ 8
static is not a return type.
+ 7
It is in the name of the function. (If I understand correctly)
+ 2
Void is not a type.
0
got it,,thanks for sharing your idea.