A Fibonacci sequence is a series of numbers where the nextnumber in the series is the sum of the previous two numbers. Thesequence starts with the numbers 0 and 1. Here are the first tennumbers of the Fibonacci sequence:
0 1 1 2 3 5 8 13 21 34
Write a Java program to print out the first fifteen numbers ofthe Fibonacci sequence using a loop. You will need three variablesprevious, current, andnext (all of type long) togenerate the sequence.
Start your program as follows:
package edu.cscc;
// TODO add comments with your name and thepurpose of the program
public class Main {
public static voidmain(String[]
OR
OR