Answer:
An observation: Java does not support true multi-dimensional arrays; rather, it supports 1-dimensional arrays, where each element can itself be another 1-dimensional array. The difference is the way memory is allocated, where a[i][j] differs from a[i,j].
Explanation:
Answer:
Tab: Home Tab
Command Group: Paragraph
Icon: Justify Icon
<em>The icon has no name; rather it is represented by 4 horizontal lines that are aligned on both edges</em>
<em />
Explanation:
To answer this question, I'll make use of the following attachment
<em>Where</em>
<em>1- represents the home tab</em>
<em>2 - represents the paragraph</em>
<em>3 - represents the justify icon</em>
<em />
Most cars can go at least 5,000 miles before an oil change. “Change your car's engine oil every three months, or 3,000 miles.
Answer:
public static boolean isReverse(int [ ]a, int [ ]b ){
for (int i=0;i<a.length;i++)
{
if(!(a[i] == b[a.length-i-1]))
return false;
}
return true;
}
Explanation:
Using a for loop, we go through the elements of the first array. The if comapres and checks if any of the values are not the same as the appropriate value on the other array, if it is so, then it is not a reverse, and we return false. else we return true.