Question: 1. Create a public static method named getTan that takes an ArrayList of type Integer and returns an int. This method returns the index of
1. Create a public static method named getTan that takes an ArrayList of type Integer and returns an int. This method returns the index of the maximum result of taking the tangent of each value from the input while considering only negative numbers from the inputs.
2. Create a public static method named getCos that takes a HashMap of type String to Integer and returns an int. This method returns the minimum result (do not return the original value) of taking the cosine of each value from the input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
