java Suppose you have use object, classes and inheritance to analyze this scenario to write a Java code to code. There a
Posted: Wed Apr 27, 2022 3:06 pm
java
Suppose you have use object, classes and inheritance to analyze
this scenario to write a Java code to code. There are some
employees have four attributes (Name, No, Phone, address) and two
operations (store1, display1). Then, create a new Technical class
with one attribute (position) and two operations (store2,
display2). This Technical class will inherit all employee class
attributes and methods
Suppose you have use object, classes and inheritance to analyze
this scenario to write a Java code to code. There are some
employees have four attributes (Name, No, Phone, address) and two
operations (store1, display1). Then, create a new Technical class
with one attribute (position) and two operations (store2,
display2). This Technical class will inherit all employee class
attributes and methods