- Fork this repo.
- Clone your fork to your local machine.
- Solve the challenges.
- Upon completion, add your solution to git.
- Then commit to git and push to your repo on GitHub.
- Make a pull request and paste the pull request link in the submission field in the Student Portal.
- Write a method in Java to get the difference between the largest and smallest values in an array of integers. The length of the array must be 1 and above. Use loops and conditionals to develop the algorithm.
- Write a method in Java to find the smallest and second smallest elements of a given array and print it in the console. Use loops and conditionals to develop the algorithm.
- Create an
Employeeclass to represent an employee of a company. Add all relevant properties and behaviors that you might need but you have to include asalaryproperty. Don't forget to add getters and setters. - Create an
Internclass that extends fromEmployee. All the Interns have a salary limit of 20000 (constant). You must validate if an intern is created (or salary updated) with a bigger salary than the max. The max value is set. - Write a program that creates 10 Employees and print it al the properties.
