Question: In Java, can someone tell me why this says the constructor is undefined in one case and not the other regarding super. On line 27,

In Java, can someone tell me why this says the constructor is undefined in one case and not the other regarding super. On line 27, when using the super class constructor, it says its undefined but it is fine on line 20 using the same syntax. I tested it by having eclipse automatically create a constructor from superclass just to see if i had a syntax error. But they are identical...In Java, can someone tell me why this says the constructor is

19- 20 public Employers(String firstName, string lastlane, string email, string phoneNumber, int age, string place) C super(firstName, lastName, email, phoneNumber, age, place) 7 ToD0 Auto-generated constructor stub 23 24 25 26 public Employers(String firstlame, String lastlame, String email, string phoneNumber, int age, string place, int year, String loc, String company, String work) a27 28 29 30 31 32 super(firstName, lastName, email, phoneNumber, age, place) this.year-year; this.loc loc; this.company-company; this.work-work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!