Sunday, January 30, 2011

COMPASS member

We(me and my classmates) are currently learning more about classes in Java. Sir Adib[our lecturer] is great in teaching, and I think I learn Java faster than I learn C++. Maybe because of the similarities in C++, the great teaching from a great teacher, and the insignificant effort of mine. This is one of the problem in the class that he asked us to do.

BTW, D.I.C is so serious about making every user conform to the standard of the forum. There is this "Please put tags around your code" in the background of the reply. Interesting. Haha =D

COMPASSDataInput.java


COMPASSMember.java

Friday, January 14, 2011

Problem 4: LargestPalindrome

I think I start to like java. There are certain restriction, like the for loop can't have more than the default 3 elements, while C++ can have more than one variable declaration-initialization. But it can do type cast and string comparison so easily. =D