Apple Interview Question

implement fibbonaci series in java