Hey, I am not sure if you guys have heard of this site before but it's called java bat. You create an account and it has a tone (my guess, around 150) logic problems using java methods. When you complete a problem you get checks, and for every several checks, a star. Reminds me of Mario 64.
Javabat - JavaBat Java
It's fun. I wish the problems were a bit more challenging, but it's a great way to test whether you know syntax cold.
the sumDouble question was probably the first time i ever used the... crap i can't even remember what it is called, here is what my answer looked like
edit: i remember what it is called now, the ternary operator or something like that.Code:public int sumDouble(int a, int b) { return a==b?a*2*2:a+b; }
Last edited by tate; 03-12-2010 at 05:00 PM.
twas brillig
Pretty cool stuff!
BTW, it's called CodingBat now as they also do Python.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks