I am doing a password login that requires me to match two array: User and Pass. If user key in "mark" and "pass", it should show successfully. However I have trouble ...
userAnswer[] holds the string of the answer the user types in and is comparing it to answers[] to see if they match up and then spits out correct or wrong. j ...
In Java I am trying to return all regex matches to an array but it seems that you can only check whether the pattern matches something or not (boolean). Can someone ...
awesome man thanks that almost worked lol. i using strings of time and the set doesn't know the difference between AM and PM when comparing strings NavigableSet test = new TreeSet(); test.add("11:30 PM"); test.add("5:00 PM"); test.add("2:30 PM"); test.add("12:30 PM"); test.add("11:00 AM"); System.out.print(test.floor("11:40 AM")); always returns 11:30 PM. so ill have to do some data manipulation i guess and convert to military ...
hi, i have an issue with comparing two array lists. array a1 has the content of a set of 500 articles. array a2 has a set of noun phrases. i need to check each element of a2 with each element of a1. because i want to check in how many articles does the elements of a2(noun phrases) occur. pls help... regards ...
Ok here is the dilema. I have a text file that is loaded into java and stored in a 2-d array. There is an english version of a word, and then the translated english word. I want to have the user enter a sentence that is stored as a string. If there is a word that matches a word in the ...