THIS IS A CODING QUESTION USING JAVA!!! using lambdas and streams. -create a class called subject -How do determine the 200 level courses etc, from the left it starts with 2 -Search is it available or not -We can use files Exercise: Using lambdas and streams whenever appropriate, write a program that manipulates subjects. Each subject has a code, title, number of credits, number of weekly lecture’s hours, and number of weekly tutorials hours. Using a menu, the user might need to sort subjects based on number of credits, tutorial hours, or lecture hours (one condition at a time). Moreover, the user might be interested in the following: -Use subject manager with methods to find the following: Display all 100-level subjects Display all 200-level subjects Display all 300-level subjects Display all subjects with 6 credits Display all subjects with 12 credits Display all CSCI subjects Display all CSIT subjects Guidelines: Please observe the following guidelines while writing your programs: Use appropriate names for classes Use appropriate names of variables and data members Make good and appropriate use of functions Use appropriate names of functions Provide enough comments to understand your code Use appropriate indentations.
THIS IS A CODING QUESTION USING JAVA!!!
using lambdas and streams.
-create a class called subject
-How do determine the 200 level courses etc, from the left it starts with 2
-Search is it available or not
-We can use files
Exercise:
Using lambdas and streams whenever appropriate, write a program that manipulates subjects. Each subject has a code, title, number of credits, number of weekly lecture’s hours, and number of weekly tutorials hours. Using a menu, the user might need to sort subjects based on number of credits, tutorial hours, or lecture hours (one condition at a time).
Moreover, the user might be interested in the following:
-Use subject manager with methods to find the following:
- Display all 100-level subjects
- Display all 200-level subjects
- Display all 300-level subjects
- Display all subjects with 6 credits
- Display all subjects with 12 credits
- Display all CSCI subjects
- Display all CSIT subjects
Guidelines: Please observe the following guidelines while writing your programs:
- Use appropriate names for classes
- Use appropriate names of variables and data members
- Make good and appropriate use of functions
- Use appropriate names of functions
- Provide enough comments to understand your code
- Use appropriate indentations.
Step by step
Solved in 4 steps with 6 images