What the difference main,void main and int main? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What the difference main,void main and int main?

help please

24th Mar 2017, 9:00 AM
Dimas Fariski
Dimas Fariski - avatar
2 Answers
+ 3
void,int implies what is the return type of this method(there are more) void - no any return value from the method int - return Integer value
24th Mar 2017, 9:06 AM
Eranga
Eranga - avatar
24th Mar 2017, 10:22 AM
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender)
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender) - avatar