[2pts EXTRA CREDIT] Write a concrete toString method for Sof…
[2pts EXTRA CREDIT] Write a concrete toString method for SoftwareEngineer. The String representation of a SoftwareEngineer is: “My name is [name], and I work at [company]. I have $[money] and receive $[salary]/hr. I write software for [company]’s [companyProject]” (without the square brackets, replacing the square brackets with the values from the instance variables) Notice the prefix matches the toString from Worker (which ends in $[salary]/hr, and is marked). You must call Worker’s toString and use its returned value.
Read Details