Questions of Java Technology
1.Cache Algorithm
Answer:
a.LRUCache (least recently used )
b.FIFOCache
c.UnlimitedCache
2. Why is StringBuffer called mutable?
Answer: The String class is considered as immutable, so that once it is created a String object cannot be changed. If there is a necessity to make alot of modifications to Strings of characters then StringBuffer should be used.


0 comments:
Post a Comment