I am using a function Map.entrySet()
. When I am using import java.util.*
it gives cannot find symbol error. But, when I am doing import java.util.Map.Entry
it compiles. Shouldn't "*" include Map.Entry?
Am I missing anything?
Bottom line using import java.util.*
gives me cannot find symbol error.
For the same code import java.Map.Entry;
does not. Why?
Thank You.