Sale!

(Solved) : Output Following Java Program Package Test Import Javautil Class Main Public Static Void M Q34188583

$ 16.00

Answer to What is the output of the following Java program? package test; import java.util.*; class Main { public static void main…

SKU: 31d2fd5769da Category:

Description

What is the output of the following Java program?

package test; import java.util.*; class Main { public staticvoid main(String[] argh) { StringTokenizer st = newStringTokenizer(“{5A=1500,2B=1950,5A=1000,3C=1770}”, (“{=,}”)); Maphm = new HashMap(); while (st.hasMoreTokens()) {hm.put(st.nextToken(), st.nextToken()); }System.out.println(hm.toString()); } }