Need help with java question

Hi all,
Can anybody resolve this question.Thank you in advance.I need help plz.

In mathematics, there is a famous sequence of numbers called the Fibonacci
sequence after the thirteenth-century Italian mathematician Leonardo Fibonacci. The
first two terms in this sequence are 0 and 1, and every subsequent term is the sum of
the preceding two. Thus the first several numbers in the Fibonacci sequence are as
follows:
F0 = 0
F1 = 1
F2 = 1 (0 + 1)
F3 = 2 (1 + 1)
F4 = 3 (1 + 2)
F5 = 5 (2 + 3)
F6 = 8 (3 + 5)
Write a program to display the values in this sequence from F0 through F15.

You'll get better help if you do more than simply post your homework assignment without asking a question. To help folks know where you're stuck, please post what you've tried so far and any specific questions. The more specific the question, the more helpful the answer.

Now you need to design the logic to compute the series. This is done with paper and pencil.
Looking at what you want for output,i t appears that F0 and F1 are the initial input
then F2 = F0 + F1
and F3 = F2 + F1
Then replace the fixed subscripst with new names:
Fnew = FOld + FOld-1
then move the values thru the variables. Ie Fold = Fnew and FOld-1 = FOld

F0 = 0
F1 = 1
F2 = 1 (0 + 1)
F3 = 2 (1 + 1)

Why do you have nested if statements in your program segment?
What does your program print out?

Sorry Moonchile I meant to say I tried iluxa's code but didn't work form.We haven't studied recursion on java yet.Hence It sounds advance for me.Is there other way using if,while,etc loops we can resolve it.

What I meant was that the code Iluxa posted was "joke code". It's not a solution, if you look at it, it doesn't do any calculations, just prints out preset strings. If recursion is too advanced for you, there were other responses in this thread that give you hints at solving this problem.