Write a short Java method that takes an array of int values and determines if there is a pair of distinct elements of the array whose product is even.

icon
Related questions
Question
Write a short Java method that takes an array of int values and determines if there is a pair of distinct elements of the
array whose product is even.
Transcribed Image Text:Write a short Java method that takes an array of int values and determines if there is a pair of distinct elements of the array whose product is even.
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer