is there a way I can use a variable as the name for my constructor? Without knowing the name the user will put in beforehand, etc.
String StuName = scanner.next();
Student StuName = new Student();
I'm really new and I'm trying to learn so I apologise if this is a stupid ass question.