473,466 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to make 2-d array in java when no of rows are not known

1 New Member
hii all

How to make 2-d array in java when no of rows are not known

let me know if u have the solution 4 it...

Regards
ankur maheshwari
Mar 12 '07 #1
4 1955
Ganon11
3,652 Recognized Expert Specialist
You should ask your question in the Java forum.
Mar 12 '07 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
You should ask your question in the Java forum.
Moved to Java forum.

ADMIN
Mar 12 '07 #3
r035198x
13,262 MVP
Depends on which you want to call your rows

Expand|Select|Wrap|Line Numbers
  1.  String[][] myArray = new String[5][];
Mar 12 '07 #4
horace1
1,510 Recognized Expert Top Contributor
hii all

How to make 2-d array in java when no of rows are not known

let me know if u have the solution 4 it...

Regards
ankur maheshwari
not sure what you require, e.g. do you want a 2D array where the number of elements in each row may be different?
Mar 12 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: LRW | last post by:
I did a Web search, and a deja.com search on this...and I'm finding how to make checkboxes act like radiobuttons, and other interesting behaviors, but nothing that quite answers my question. If...
5
by: Denis Perelyubskiy | last post by:
Hello, I need to make an array of elements accross forms. My javascript skills, as evident from this question, are rather rudimentary. I tried to make an associative array and index it with...
2
Nert
by: Nert | last post by:
Hi.., i have build a simple program which is done few days ago.., it's just a simple chatroom. Now my problem is how can i make my java program executable? i want to run it on the other computer...
8
by: Sunny | last post by:
Hi, Can someone tell me, How to redefine array or make array empty or null. Here what I am trying to do. var temp = new Array(); for(i=0; i <=outstring.length-1; i++) { temp =...
1
by: sigra | last post by:
I need to convert array elements to rows. Suppose that I have the array {5,77,39,19}. I need it as a table with the index in one column and the element in the other column:index | element...
2
by: b laxmikanth | last post by:
why strings in java when we can have array of characeter or viceversa?
0
by: SWATI AGARWAL | last post by:
How can we set the size of a button in java when the text on it is empty. setbounds ,setsize ,setprefferedsize are the options that i tried but i failed to get the desired output.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.