Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

function that returns a String Array

  Asked By: Everett    Date: Jun 19    Category: Java    Views: 1187
  

can a function returns a String Array. if its posssible then how..If
anybody has got the ans pls send me reply imm. it s urjent for me..

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Wilbur Hall     Answered On: Jun 19

try it
function f1()
{
.
.
.
.
.
.

 
Answer #2    Answered By: Chione Massri     Answered On: Jun 19

public String[] myStringArray(){
String[] s = {"this", "is", "string", "array"};
return s;
}

 
Answer #3    Answered By: Kay Rodriguez     Answered On: Jun 19

but it was too late so i cracked my head and done it..
but anyhow its appreaciable that u send  it to me
thanks a lot.

 
Answer #4    Answered By: Paul Brooks     Answered On: Jun 19

pls if u dont have a proper ans for any question pls
dont play arround this..

 
Answer #5    Answered By: Sheryl Morgan     Answered On: Jun 19


try it
f1(String[] s)
{
String[] s;
......

return s;

 
Didn't find what you were looking for? Find more on function that returns a String Array Or get search suggestion and latest updates.




Tagged: