Today when i was seeing the source code of the HashMap class in java i saw that the Entry class in HashMap whcih is used to record the key value pair is static.
static class Entry<K,V> implements Map.Entry<K,V> {
}
As far i know that static member of the classes only have one value for all the instances of the class .How this phenomena is applicable in the case of static nested classes. I also read some discussions in the StackOverFlow can not come to exact point.Below is the link of some explanations that why the Entry class is static.