Cool thanks everyone for your help. I was able to finish my program, time to start my next one!!! I ran into another problem in my new program, but i wanna see if i can fix it myself. Thanks...
Type: Posts; User: redzero36
Cool thanks everyone for your help. I was able to finish my program, time to start my next one!!! I ran into another problem in my new program, but i wanna see if i can fix it myself. Thanks...
hmm okay I think I completely understand what an argument is now. So is an argument pretty much the input of what the user types in or a string array correct? Is it possible to put it in my if...
Okay, I kinda understand what your saying. So how would I make create an argument to only output the list1/list2 of in my code? I kinda understand how to type it in a command line but not into a...
args array? I've been trying to figure out what that is. would you mind showing me an example or directing me to a correct tutorial, I've been trying to read articles on google, but don't quite...
Thanks AndyNewman yours did the trick. and I'll keep Norms advice in mind if i run into any problems. I was told to have arguments in this program so i can run actions through a command line to...
I need help with my code. Nothing is being printed out. I know the lists work because blocked out the ifs and tried both one at a time. What im trying to do is get the if statment to work if i...
this is the results I did. cool thanks its working
myList =[testemail1@test.com, testemail2@test.com] It removed testmails3,4,5,6.
AWESOME thanks man!!!
its a string
no it does not have a toString() method, or an equals() method. The objects stored in the array list is from stringTokenizer.
Im calling it from another java, its on a public class.
this is my test case results I made.
myList =[testemail1@test.com, testemail2@test.com, testemail3@test.com, testemail4@test.com, testemail5@test.com, testemail6@test.com]
myList2...
Okay I printed them out and they looks similar like yours. Its like you said but with my class names. Im not sure if you wanted me to print out the results, but I didn't think I'm allowed to show...
Hi Norm, Im kinda confused about the first part of what you said. Okay my 2 arrayList are the objects correct, and there is some same content from arraylist 1 and arraylist 2. List 1 has few...
Hi dlorde, what I want to do is the first one you mentioned. I tried doing it but list1 is still the same after I put "list1.removeAll(list2);" . When i counted the size it was still the same as...
I was wondering how i would remove emails that appear on 2 arrayLists. I tried to figure it out by myself but i dont have a lot of experience in java.
Hi Im new to this site and new to java. I was wondering what method i could use to read input txt file, then only get the emails parts listed in the txt, doc. So that later I can compare it to...