Joe Wilson

Joe Wilson

  • NA
  • 7.8k
  • 437.4k

What is the problem of inheritance in program?

Jun 9 2014 10:50 AM
 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)