why t is small in Hashtable class of java

just a guess... since Map and Set are interfaces and hence HashMap and HashSet have capitals... and there is no such collection interface named Table as such..

Campbell Ritchie

Sheriff

Posts: 51448

87

posted 5 years ago

Because somebody thought hashtable is all one word? Because somebody misunderstood the convention about subsequent words having capital letters? I think there probably is no deep mysterious reason for it.

Matthew Brown

Bartender

Posts: 4568

9

posted 5 years ago

And because once it's been released with that spelling (back in the original version of Java) it's too late to change it.