Skip to content
3 marksDifficulty: Medium

Write a recursive Java method to compute the nth term of the Fibonacci sequence, taking the first two terms as 0 and 1.

Original Khojo Papers practice question — not from a past board paper.

Practise this chapter

Answer

Related questions

From the same topic and chapter, at a similar level.

Related questions