What is the meaning of return type?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Committee of the Red Cross, Lives in Geneva, Switzerland.
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.
2023-05-06 14:09:57
评论(499)
Helpful(122)
Helpful
Helpful(2)

Maya Carter
QuesHub.com delivers expert answers and knowledge to you.
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.