458 Posted Topics

Member Avatar for java.netproject

What the hell are you guys doing here ? This isn't somekind of advertising board for corporates. This forum's main aim is to make people learn while they are being helped. You want to show that you are helping people while making them dependent - not to talk about making …

Member Avatar for verruckt24
-3
149
Member Avatar for anez247

First of all you must really be working on some top notch "classified" project that you are feeling so vulnerable to divulge the details off. But just imagine how helpful we can be if we do not even know the problem domain for the project. And also it isn't so …

Member Avatar for Ezzaral
0
103
Member Avatar for NewbProgramma

the [B]compareTo[/B] function in [B]String[/B] class compares two strings lexicographically. Read [URL="http://java.sun.com/j2se/1.5.0/docs/api/"]javadocs[/URL] for more details, I'm sure they would help.

Member Avatar for verruckt24
0
112
Member Avatar for zigpy_siva

But for that to be an actual CSV file it should have different values separated by commas. Are you separating out values using commas ?

Member Avatar for zigpy_siva
0
617
Member Avatar for beginner21

I feel you are posting your class assignments here one by one, while we do not have any problem outright with that there should be some effort from your side that comes across from your query/ problem. We haven't seen any such effort as yet from you on this post. …

Member Avatar for quuba
0
173
Member Avatar for StephNicolaou

Please mention in detail what Exception you are getting. BTW are you getting an ArrayOutOfBoundsException ?

Member Avatar for quuba
0
156
Member Avatar for beginner21

[QUOTE][code=java] int r1, c1, r2, c2; int[][]cards; cards=new int[4][4]; for(int r=0; r<4; r++) { for(int c=0; c<4; c++) { cards[r][c]=(int) (Math.random() * 8); // the line below should be commented System.out.print(cards[r][c]); } System.out.print("\n"); } [/code] [/QUOTE] I have mentioned the changes in the code itself (check the comment) As I …

Member Avatar for beginner21
0
179
Member Avatar for nefashu2

What you have given is a problem domain. You can work up the design and tell us where you get stuck up implementing it in langauge, we would help you there then.

Member Avatar for verruckt24
0
80

The End.