System.out.println("Enter 1 to Add a Record");
System.out.println("Enter 2 to Print the Records");
System.out.println("Enter 3 to Delete a Record");
System.out.println("Enter 4 to Edit a Record");
int x=abir.nextInt();
switch(x){
case 1:
System.out.println("Enter Student Name");
String x1=abir.nextLine();
System.out.println("Enter Student Id");
String x2=abir.nextLine();
System.out.println("Enter Student Department name");
String x3=abir.nextLine();
System.out.println("Enter Student Contact info");
String x4=abir.nextLine();
bo.AddInlist(x1,x2,x3,x4);
break;
case 2:
bo.PrintRecord();
break;
case 3:
System.out.println("enter your desire deleting id");
String x5=abir.nextLine();
bo.DeleteRecord(x5);
break;
case 4:
System.out.println("enter your desire Edited id");
String x6=abir.nextLine();
bo.EditRecord(x6);
break;
default:
System.out.println("Wrong Entry.. Follow the Instructions");
System.out.println();
}
System.out.println("Enter 1 to Add a Record");