Question: I'm writing a string method and it needs to return a 2-D array. Can someone explain how to return, I believe I already set up
I'm writing a string method and it needs to return a 2-D array. Can someone explain how to return, I believe I already set up the array. The array is called "report". So I just eneded it with "return report + "" ". When I call the method and run my program it prints out the adress, "[[Ljava.lang.String;@3d4eac69". Can someone explain how I can fix the probelm? Maybe give an example how this works. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
