Return Statement
Syntax of return statement:
return; // for void methods
return expression; // for type or class return value
// the expression type and return type should be same
Previous slide
Next slide
Back to first slide
View graphic version