<P> In computer programming , the return type ( or result type ) defines and constrains the data type of the value returned from a subroutine or method . In many programming languages ( especially statically - typed programming languages such as C , C++ , Java ) the return type must be explicitly specified when declaring a function . </P>
<P> In computer programming , the return type ( or result type ) defines and constrains the data type of the value returned from a subroutine or method . In many programming languages ( especially statically - typed programming languages such as C , C++ , Java ) the return type must be explicitly specified when declaring a function . </P>
what is the meaning of return in java
what is the meaning of return in java
defines and constrains the data type of the value returned from a subroutine or method
defines and constrains the data type of the value returned from a subroutine or method