This is a Java class implementation of fibonacci both using both iterative and recursive methods.