Question: consider the following class declaration: abstract class Employee { String name; double salary; int eno; abstract double calculateTax ( ) ; } assume that a
consider the following class declaration:
abstract class Employee
String name;
double salary;
int eno;
abstract double calculateTax;
assume that a new class is inheriting from Employee and does implement all of its methods then it will be known as
a syntax error
b abstract class
c interface
d concrete class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
