Norm, I love you... I don't know how I didn't notice that about the ; after the if statement. This fixed my whole code, I had it right all along!
(And yes I closed the program and that error went...
Type: Posts; User: jwr
Norm, I love you... I don't know how I didn't notice that about the ; after the if statement. This fixed my whole code, I had it right all along!
(And yes I closed the program and that error went...
Okay, I figured out how to do that. This is the message that I received:
WeakAnTester2.java:27: warning: [empty] empty statement after if
if (one.charAt(k) == (char)('a'+j));
...
Sorry, I missed that. I don't have any compile errors, and I'm not sure what you mean by warnings. What is an -Xlint compiler option? I'm using DrJava and can't find that option.. I went to help ->...
Well, they are all False, because the loops apparently aren't working properly. However, I want to initiate them to False before initiating the for loops and setting the elements to True which...
Right, so I created two 26 element boolean Arrays - firstArray and secondArray. I want each element of the array to correspond to a character, the 0th element to 'a', 1st to 'b', etc. In my for...
Hey guys, I've been working on this project for a couple days now and I can't get it right. It's due in 5 hours :\
Okay, so the assignment is to code a "weak" anagram tester - the program should...