-1
votes
0answers
31 views

How do you convert a CSV file into a 2D array in Java or C++ [migrated]

My question title didn't fully outline my question. I have a text file that has many lines of data with each line in the following format: a, date, b, c, d, Username, e, Description a,b,c,d, and e ...
0
votes
1answer
96 views

Sorting an ArrayList by a Split Value [closed]

I am attempting to create an list which should be sorted by a particular field in a colon separated string. I have an array of strings with the following values: name1:535 name2:697 After sorting ...
-4
votes
1answer
271 views

Program to verify all words in a crossword puzzle are valid

I have my own solution and wanted to check it against something online but couldn't find any examples. How would you solve this one. (I can post my code if necessary). I just want to see if someone ...
0
votes
6answers
429 views

Visualization of N>2-D array? [closed]

I have an array of dimension 5. But, I can't figure out how to visualize that array? int[][][][][] array = new int[4][4][4][6][2]. Is there a good way to visualize arrays with dimension counts of 3 ...
3
votes
2answers
479 views

Should the 12-String be in it's own class and why?

This question is regarding a homework project in my first Java programming class (online program). The assignment is to create a "stringed instrument" class using (among other things) an array of ...
0
votes
1answer
212 views

Java Dynamic Binding

I am having trouble understanding the OOP Polymorphic principl of Dynamic Binding ( Late Binding ) in Java. I looked for question pertaining to java, and wasn't sure if a overall answer to how dynamic ...
1
vote
2answers
650 views

What is Difference between Array and Vector in java? [closed]

What are the differences between these two data structures and where should you use each of them?
0
votes
2answers
3k views

Best practice Java - String array constant and indexing it

For string constants its usual to use a class with final String values. But whats the best practice for storing string array. I want to store different categories in a constant array and everytime a ...