How to print a method in java
First your method won’t print the good fibonnaci numbers, and to print it you need to instanciate a FibonacciSequence Object since the method is not static : Prints : 1 3 5 7 9 11 13 15 17 If you don’t want to use recursion, you can do like this (and see how to print … Read more