kodingwindow@kw:~$ javac KW.java kodingwindow@kw:~$ java KW
———————————————————————————————————————————
Program for the Set operations
———————————————————————————————————————————
Enter number of elements in Set-1 4
Enter character-1 A
Enter character-2 B
Enter character-3 A
Enter character-4 C
Enter number of elements in Set-2 7
Enter character-1 A
Enter character-2 C
Enter character-3 Z
Enter character-4 W
Enter character-5 #
Enter character-6 &
Enter character-7 100
———————————————————————————————————————————
Result of the Set operations
———————————————————————————————————————————
Set-1: [A, B, C]
Set-2: [#, &, 1, A, C, W, Z]
Union: [#, &, 1, A, B, C, W, Z]
Intersection: [A, C]
Difference (Set-1 - Set-2): [B]
Difference (Set-2 - Set-1): [#, &, 1, W, Z]
Symmetric Difference: [#, &, 1, B, W, Z]
kodingwindow@kw:~$
Dear User, Thank you for visitng KodingWindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the KodingWindow Android app. We intend to soon make it available on the Google Play Store. Currently, you need to install apk manually. Would you like to get the app? Minimum Requirement(s): Android 10