-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Java Inheritance - Employee #38
Comments
/*
/**
} /*
/**
} /*
/**
} /*
/**
|
package employeedetail; /**
} Class Employee package employeedetail; /**
Class Permanent Employee package employeedetail; /**
Class TemporaryEmployee /**
Output |
package task14august2; /**
} class Employee package task14august2; /**
} class PermanentEmployee package task14august2; /**
class TemporaryEmployee package task14august2; /**
|
/*
/**
}
/**
/**
}
/**
|
/*
/**
} public class Employee {
} public class PermanentEmployee extends Employee {
} public class TemporaryEmployee extends Employee {
} |
/*
/**
} /*
/**
} /*
/**
/*
/**
|
/*
import java.util.Scanner; /**
}
/**
}
/**
/**
} |
# Project: EmployeeImplementation /**
# Class:Employee
} # Class:PermanentEmp
}
|
/*
/**
}
/**
}
/**
}
/**
|
/*
/**
} Class Employee/*
/**
} Class PermanentEmployee/*
/**
} Class TemporaryEmployee/*
/**
|
package day11task3; /**
} public class Emloyee {
} public class ParmanentEmployee extends Emloyee {
} public class TemproraryEmployee extends Emloyee {
|
/*
/**
}
/**
}
/**
}
/**
|
/*
/**
Class PermanentEmployee
/**
} Class TemporaryEmployee
/**
|
Employee
PermanentEmployee extends Employee
sal - 10% Increases
tax - 20%
TemporaryEmployee extends Employee
no pf
tax - 15%
The text was updated successfully, but these errors were encountered: