Computer Science, asked by neeti4642, 10 months ago

//Predict output
class arrayoutput
{
public static void main()
{
int a[]={7,3,5,2,0,3,7,2,0,1}, i,j,c=0;
for(i=0;i<a.length;i++)
{
for(j=0;j<i;j++)
{
if(a[i]==a[j])
c++;
}
if(c==0)
System.out.print(a[i]);
c=0;
}
}
}​

Answers

Answered by tara0000
4

Answer:If the condition will be stated true

The output of this Java program will be the length of the a.

Explanation:

hope it helped you

please mark me as brainliest and thanks if it helped you

please follow me

Similar questions