2 questions for ya guys:

1) how to write your own parseInt function? just simple converting a string to a number?

2) how to pass an "int" or "long" data type by reference in java?? Are there no pointers like C?

thanx.