How many values can be returned from a method
Answers
Answered by
3
Answer:
single value
hope it helps you
Answered by
1
You can't return two values. However, you can return a single value that is a struct that contains two values. You can return only one thing from a function. Either you make a struct which contains all the things you want to return, or you pass some function parameters by reference
Similar questions