32
Answers

What is the problem of inheritance in program?

Joe Wilson

Joe Wilson

10y
1.9k
1
 Why does the compiler give error about my inheritance that student form doesn't have constructor.
Please,Guide me.
 
 
 
 
 
class Student:Person
{
public int Student_Number;
public string Field;
public int Average;
public int Student_ID;

public void student(int Student_Number, string Field, int Average,int Student_ID)
{
this.Student_Number = Student_Number;
this.Field = Field;
this.Average = Average;
this.Student_ID = Student_ID;
}
Answers (32)