How to return multiple values from function? As normally method return single value eg. private int add(int a, int b) { int result=a+b; return result; } but in situation where we need to return more than one value this article is helpful.
"..........way of sharing knowledge."