Below 2 programs were asked: 1. //Given an order object with structure as follows, implement the printOrderInfo method Order { productname(String) value(int) location(String) … ... } public void printOrderInfo(List orders){ to print unique productnames in Uppercase where the orders have product value > 1000 and Location is "New Jersey" } 2. /*Print all pairs of anagrams in a given array of strings Input: arr[] = {"geeksquiz", "geeksforgeeks", "abcd","forgeeksgeeks", "zuiqkeegs"}; Output: (geeksforgeeks, forgeeksgeeks), (geeksquiz, zuiqkeegs)