单选题You want to use te Coherence Java APIs to directly cached POJOs. Consider this snippet of code: NamedCache cache - CacheFactory.getCache("mycache");  cache.put(new Integer(I)f "hello"); cache.put(T,"hi");  cache.put(new Long(II),"hey");  This code inse

题目内容(请给出正确答案)
单选题
You want to use te Coherence Java APIs to directly cached POJOs. Consider this snippet of code: NamedCache cache - CacheFactory.getCache("mycache");  cache.put(new Integer(I)f "hello"); cache.put(T,"hi");  cache.put(new Long(II),"hey");  This code inserts three objects into the cache.  Why ?()
A

 hashCode() and equals() method for each object type is different so a different key is used

B

 each object value string is different so a different value is inserted on each put

C

 equals() and compare() method is different for each put

D

 POF need to be implemented for this to work properly

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题