Hello,
I was trying to create the parent class Person. This is my constructor:
```public Person(String name, String fname, String street, Integer hnumber, String city, Integer zip, String mail, String student, int mnumber ){
this.nachname = name;
this.vorname = fname;
this.straße = street;
this.hausnummer = hnumber;
this.stadt = city;
this.plz = zip;
this.mail = mail;
this.student = student;
this.mnumber =mnumber;
}```
now I have a second class called students and I want that Student inherit from Person. Is this the correct way to do it?
public class Student extends Person{
public Student(String name, String fname, String street, Integer hnumber, String city, Integer zip, String mail, String student, int mnumber )
{
super(name, fname, street, hnumber, city, zip, mail, student, mnumber);
}}```