File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
return array[][]
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
Jul 26, 2001 10:23:00
0
Hi!
I want write a method with return array[][]
public
String
[][] metodo(){
String[][] array = new String[5][10];
return array[][];
}
but this no compile. How I can do it?
thanks in advance.
Rashmi Hosalli
Ranch Hand
Joined: Jun 25, 2001
Posts: 50
posted
Jul 26, 2001 10:58:00
0
Hi Jordi,
While returning 'array' just say return array without '[][]'.
Rashmi
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: return array[][]
Similar Threads
how to set 2d array in hidden field in java script
returning an array
Return type of web service..
Returning a String from Server (REST) and getting Errors..
Returning byte array to JavaScript from Java applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter