Engineering Full Stack Apps with Java and JavaScript
Write a method that accept two strings and check if two strings are anagrams (or permutations of each other). Example: "aaba" and "aaab" should return true. But "aaba" and "aabb" should return false. Test the method by passing positive and negative cases from the main method.
Without answers: set-29
Create an ArrayList object for holding String objects and an assign it to a List reference type. Add 5 string values to it. Print it using a for each loop.
Create an ArrayList object for holding String objects and an assign it to a List reference type. Add 5 string values to it. Print it using an Iterator without using the for each loop.
With answers: set-31