If this is against the rules here, please remove this topic.
I'm trying to join a new forum specifically for java games, but to activate your account you need to answer a small trivia quiz. Being the java noob I am, I'm unable to complete the trivia to activate my account. I can't find a way to email/message an admin on the site, so my idea was to ask the java masters here for the answers, if this is in the wrong topic/not allowed, please delete it as I don't want to break the rules here.
What is the returned value?int o = 2; int j = "JZG".hashCode() % 3000; int w = "DUY".hashCode() % 3000; for (int i = 0; i <= w; i++) o = (o ^ i) % j; return o;
What is the greatest common divisor of the previous two results?