
Hi, 1)I have a requirement like,1 method returns multiple values.how to do that one. 2)can i use method, for example like getFile()[] in this way or not. plzzzzzzzzzzzzzzzzzz provide the code...

Hi, Sorry i don't think that a method can return multiple data-types.
A method can return multiple values but only single data-type. i.e
public String[] getData() { String[] data = new String[10]; for(int i = 0; i < 10; i++) { data[i] = ; // Some exp } return data;
}
This 'll return an array of data.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
