0

can we use any other word than pionts in the code { in the text }

import java.util.HashMap; public class MyClass { public static void main(String[ ] args) { HashMap<String, Integer> points = new HashMap<String, Integer>(); points.put("Amy", 154); points.put("Dave", 42); points.put("Rob", 733); System.out.println(points.get("Dave")); } } // Outputs 42

16th Jun 2017, 4:10 PM
sushant
sushant - avatar
1 Réponse
+ 1
Yes Why not?
16th Jun 2017, 6:10 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar