Write Java code that processes every integer from -5 through…
Write Java code that processes every integer from -5 through 5, inclusive, using a for loop.Your code must:Print “Positive: ” followed by the number when the current number is greater than 0.Print “Non-positive: ” followed by the number when the current number is less than or equal to 0.Keep track of the number of positive values and the number of non-positive values processed.After the loop, print both totals using the exact format shown below.Use an if-else statement inside the loop.Do not hard-code individual output lines or the final counts.The final two lines of output must be:Positive count: 5Non-positive count: 6 Students can use the editor to answer.