Computer Science, asked by AryanYadav7007868418, 5 months ago

How many values can be returned from a method​

Answers

Answered by ashi1532
3

Answer:

single value

hope it helps you

Answered by khushianand590
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