public class LecturerInfo extends StaffInfo { private float salary; public LecturerInfo() { this(); this.Name = null; this.Addr
the code below is recursive. Since this() will call no arg constructor of current class that means LectureInfo() again.
this()
LectureInfo()
public LecturerInfo() { this(); //here it translates to LectureInfo() this.Name = null; this.Address = null; this.salary=(float) 0.0; }