Static Boolean Q1 HashMap inputMap TODO Return trie if input
Solution
HashMapTester.java
import java.util.HashMap;
 public class HashMapTester {
   static boolean Q1(HashMap<Character, Integer> inputMap){
        if(inputMap.size() > 2){
            return true;
        }
        else{
            return false;
        }
    }
    static HashMap<String, Integer> Q2(String key, int value) {
        HashMap<String, Integer> map = new HashMap<String, Integer>();
        map.put(key, value);
        return map;
    }
    public static void main(String[] args) {
        HashMap<Character, Integer> inputMap = new HashMap<Character, Integer>();
        inputMap.put(\'A\', 1);
        inputMap.put(\'B\', 2);
        inputMap.put(\'C\', 3);
        System.out.println(Q1(inputMap));
        System.out.println(Q2(\"Test\", 111));
       
    }
}
Output:
true
 {Test=111}

