Consider the following enum class:
enum Language {
JAVA, C_PLUS_PLUS, PYTHON, C_SHARP, JAVA_SCRIPT, HTML, CSS
}
enum Role {
WEB_DEVELOPER, DATA_SCIENTIST, JAVA_EXPERT, GAME_DEVELOPER, COMPETITIVE_CODER
}You are working at a company that works with the given jobs, as well as the languages specified by the above enums. Based on the job, the getRequirementsByRole method must return the EnumSet<Language> of basic language requirements based on these rules:
Web developer: HTML, CSS, JavaScript
Data scientist: Python
Java expert: Java
Game developer: C#
Competitive coder: C++