Not sure what you mean by using the -Xlint option. I compiled it with -Xlint and I looked at the warnings already which didn't really make sense to me because as I mentioned before I'm quite new to...
Type: Posts; User: kassavetova
Not sure what you mean by using the -Xlint option. I compiled it with -Xlint and I looked at the warnings already which didn't really make sense to me because as I mentioned before I'm quite new to...
Nevermind, I didn't know it would still run if I tried it so I don't really care about the warnings anymore, thanks.
Yep I tried this but I haven't really encountered warnings of this type. To be frank never really encountered warnings when compiling a program at all... I am quite new to java so I guess that's why....
Oh I see, okay. Any idea why I'm getting the error in the above example?
Thanks Junky, used another loop outside the first one and it worked.
@Norm, I looked at the doc material but I was a bit confused on how to actually use the shuffle method so I googled it and most...
Hi guys, so I have the following piece of code:
public class Test{
public static void main (String args[]){
int[] myList = {1,2,3,4,5};
for (int i = 0; i <...