I'm trying to learn the basics of JAVA and then start messing around with games/apps. I'm registering to nice communities like this one in case I ever need help
I'm trying to register over Java-Gaming.org - home of the largest java game developer community as well, but I can't seem to figure out the "activation quiz" they have. I was hoping someone could help me out. I'm pretty sure this is basic stuff, but I've been learning JAVA for a week now and I seriously tried everything I know so far.
This is an example of the current quiz: (It gets updated every time I don't know if it has a time limit)
Thank you in advanced!In which year did Albert Einstein pass away? (This one is a no brainer
Please take a look at this code:
int g = 2;
int u = "AOC".hashCode() % 3000;
int p = "ZOO".hashCode() % 3000;
for (int a = 0; a <= p; a++)
g = (g ^ a) % u;
return g;
What is the returned value?
What is the greatest common divisor of the previous two results?