How do you check if an array is a palindrome Java

welcome to shbcf.ru