(1) Best
way of maintaining cache in java. ----Apart from hashmap , weakhashmap -- no third party APIs
(2) How to clear cache at any time. -----Not just clearing hashmap.
(3) Can we directly clear data from heap?
(4) What is dynamic caching?
(5) Why Sun (JCP) used hash in java. ---- Apart from things that we use it in hashmap and hashset for quick retrieval and apart from that bucket concepts.