P. 1
Intersection

Intersection

|Views: 0|Likes:
Published by Ali Jamil

More info:

Published by: Ali Jamil on Dec 27, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

12/27/2011

pdf

text

original

class intersection{ public static void main(String arg[]){ int arr[]= new int[4]; arr[]={3,4,5,6}; int

brr[]= new int[4]; brr[]={3,5,6,7}; for(i=0;i<=3;i++) for(j=0;j<=3;j++) { if(arr[i]==brr[j]) system.out.println(" "+arr[i]); } } }

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->