Question: Testing the Design In your main class, create two Team Managers. One is Grace Hopper who leads the Compiler Team. The other is Jony Ive
Testing the Design
In your main class, create two Team Managers. One is "Grace Hopper" who leads the "Compiler Team".
The other is "Jony Ive" who leads "Industrial Team".
Assign the following Software Developers and Designer to the Compiler Team:
Developer Jane Doe. Languages: C# Java, C C
Developer Jack Doe. Languages: Python, Perl, Java
Designer Hans Gruber. Years of Experience.
Assign the following Software Developer and Designer to the Industrial Team:
Developer Ada Lovelace. Languages: Ada, Swift
Designer Alex Binder. Years of Experience.
Once both teams are created, call getTeamProfile on both teams and save the results to a file named
"report.txt Please note, the filename must be exact and do not specify a file path. See example output
in this document
Please note: You do not need to get input from the user, you are purely testing your design with the
above values. To write to a file, you can use a BufferedWriter:
try
BufferedWriter writer new BufferedWriternew FileWriterreporttxt;
writer.writeSome String;
writer.writeAnother String";
writer.flush;
writer.close;
catch IOException e
System.out.printlnUnable to write to file: etoString;
Since you are using a buffer that is designed for performance, you must make sure that you flush the
buffer so all data gets saved into the file before you close the writer.
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
