i have a super class called employee1 and subclass fulltime whenever i run it i get this error:
javac employees/FullTime.java
employees/FullTime.java:3: cannot resolve symbol
symbol : constructor employee1 ()
location: class employees.employee1
public class FullTime extends employee1
^
1 error

can anyone help plz

Recommended Answers

All 2 Replies

read carefully...
The compiler complains about not having a non-argument constructor in your superclass.

This error occurs when you create a constructor yourself in the class which DOES take arguments and then fail to call that constructor in your subclass constructors.

Hi everyone,
Post you program here so i can see what's wrong

Richard West

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.