

What is the best way to implement while loops to catch errors;also calling methods from the student class when asking for firstname, last name, and score. I have attached src code below
import java.util.*;
public class ClassPrac003 {
public static void main(String[] args){
System.out.println(“The Student Scores applicationn”);
int length;
Scanner input = new Scanner(System.in);
System.out.print(“Number of students: “);
length =
PayPal Gateway not configured
PayPal Gateway not configured