Write a method header only (no body) for a method that meets…
Write a method header only (no body) for a method that meets all of the following requirements: The method is public static.The method name is findLargestValue.The method returns an int.The method accepts:an int parameter named dataa boolean parameter named ignoreNegativesThe method may throw an IllegalArgumentException. Show all work and proper Java syntax.