Which two are valid initialization statements? A. Map<String, String> m = new SortedMap<String, String>(); B. Collection m = new TreeMap<Object, Object>(); C. HashMap<Object, Object> m = new SortedMap<Object, Object>(); D. SortedMap<Object, Object> m = new TreeMap<Object, Object> (); E. Hashtable…

Given: What is the result? A. riding riding tolting B. riding riding cantering C. tolting cantering tolting D. tolting cantering cantering E. Compilation fails. F. An exception is thrown at runtime.

Given the directory structure that contains three directories: company, Salesdat, and Finance: Company – Salesdat * Target.dat – Finance * Salary.dat * Annual.dat And the code fragment: If Company is the current directory, what is the result? A. Prints only…