Sir In (java) calling method, how can i determine if i am using a STATIC or VOID as a returnType? thank you,, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Sir In (java) calling method, how can i determine if i am using a STATIC or VOID as a returnType? thank you,,

13th Apr 2017, 1:27 AM
JESSERSON GEMMON
JESSERSON GEMMON - avatar
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?)
13th Apr 2017, 1:41 AM
J.G.
J.G. - avatar
+ 8
static is not a return type.
13th Apr 2017, 2:57 AM
Edward
+ 7
It is in the name of the function. (If I understand correctly)
13th Apr 2017, 1:35 AM
J.G.
J.G. - avatar
+ 2
Void is not a type.
13th Apr 2017, 4:28 AM
Igor B
Igor B - avatar
0
got it,,thanks for sharing your idea.
13th Apr 2017, 1:44 AM
JESSERSON GEMMON
JESSERSON GEMMON - avatar