
my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo"
fibbo is my class name for find out the fibbonaci series.

import java.util.*;
public class fibbo {
public static void main(String[] args) throws Exception {
Scanner input=new Scanner(System.in);
System.out.print("Enter no. of terms you want to generate in series: ");
int num = input.nextInt();
int f1=0,f2=0,f3=1;
System.out.println("Fibonacci Series: ");
for(int i=1;i<=num;i++){
System.out.println(f3);
f1=f2;
f2=f3;
f3=f1+f2;
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.