The same names you mean? You could pass this as a parameter, not as a formal parameter, but when calling it:

Student s = new Student("Bob", 100, "Smith");

It doesn't have to be the same name...