Computer Science, asked by rubyhayat, 1 year ago

how many return keywords a program in Java have​

Answers

Answered by manya1304
1
You can use only One return statement in a java method.A program can have as many return statements as many methods .
Answered by anirudhdalal16
0

the number of return statements depends on the number of methods a program has. a method of java program has only 1 return statement but a program can have any number of methods.

Similar questions