From 7bb467ba9730efb777a095f76dc5b446213abd4b Mon Sep 17 00:00:00 2001 From: Dilip2005 <101985281+Dilip2005@users.noreply.github.com> Date: Wed, 31 May 2023 14:54:43 +0530 Subject: [PATCH] FindIntersection.java --- Week2/day4/FindIntersection.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Week2/day4/FindIntersection.java b/Week2/day4/FindIntersection.java index 2a1fc75..4e91c66 100644 --- a/Week2/day4/FindIntersection.java +++ b/Week2/day4/FindIntersection.java @@ -7,10 +7,11 @@ * * a) Declare An Array for {3,2,11,4,6,7}; * b) Declare another Array for {1,2,8,4,9,7}; + add num one by one into list. * c) create a two empty Lists - list1 & list2 * c) Declare for loop iterator from 0 to array a.length and add into list1 * d) Declare for loop iterator from 0 to array b.length and add into another list2 - * e) Compare Both list1 & list2 using a nested for loop + * e) Compare Both list1 & list2 using if condition * 1)Print the matching number * - */f interface and abstract class in Automation class \ No newline at end of file + *