it SCJP book by K Siera & Berts Bates it is written that "hash map can have one null key & multiple null values" null values is alright but how can it has null key. then can values be retrieved from it.
class H { public static void main(String []args) { String s1 = "this is token"; String []token = s1.split("\\w"); System.out.println(token.length); for(String s : token) System.out.println(s);
} } why this is printing length:7 and nothing when System.out.println(s); is reached