Question
How do WeakHashMap works?

Answers

WeakHashMap works like a normal HashMap but uses WeakReference for keys, which means if the key object doesn't have any reference then both key/value mapping will become eligible for garbage collection.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Give the classification of Gerbil in animal kingdom?
  • Q What is url rewriting?
  • Q Which country is the 3rd highest share holder with6.66%andvoting share of 5.92% inAsian Infrastructure Investment Bank
  • Q The heaviest rainfall is experienced in:
  • Q What is conduction aphasia
  • Q How is a strobe signal used when serially loading a shift register?
  • Q I am using the Switchboard Manager in MS Access. I am getting an error message "There was an error executing this command." What could be wrong
  • Q Why did the strikes and riots scare many Americans? (A)Broadway shows would be closed (B)Spreading of Communism and Socialism (C)Radical Muslims (D)Crazies
  • Q What is marker or tagged interface
  • Q The cricket match between India and Pakistan was over. • Harbhajan scored more runs than Ganguly. • Sachin scored more runs than Laxman but less than Dravid • Badani scored as much runs as Agarkar but less than Dravid and more than Sachin. • Ganguly scored more runs than either Agarkar or Dravid. Each batsman scored 10 runs more than his immediate batsman. The lowest score was 10 runs. How much did each one of them score
  • Q Define a path in a tree?