Answered step by step
Verified Expert Solution
Question
1 Approved Answer
package com.techelevator; public class Application { / * * * The main entry point in the application * @param args * / public static void
package com.techelevator;
public class Application
The main entry point in the application
@param args
public static void mainString args
Application app new Application;
app.run;
private void run
create some departments
createDepartments;
print each department by name
printDepartments;
create employees
createEmployees;
give Angie a raise, she is doing a great job!
print all employees
printEmployees;
create the TEams project
createTeamsProject;
create the Marketing Landing Page Project
createLandingPageProject;
print each project name and the total number of employees on the project
printProjectsReport;
Create departments and add them to the collection of departments
private void createDepartments
Print out each department in the collection.
private void printDepartments
System.out.println DEPARTMENTS ;
Create employees and add them to the collection of employees
private void createEmployees
Print out each employee in the collection.
private void printEmployees
System.out.println
EMPLOYEES ;
Create the 'TEams' project.
private void createTeamsProject
Create the 'Marketing Landing Page' project.
private void createLandingPageProject
Print out each project in the collection.
private void printProjectsReport
System.out.println
PROJECTS ;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started