Thursday, 9 July 2015

Tagged Under:

Latest Asked Interview Question

Share




 

Latest Java Interview Questions

 

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

Contact Us

Want to ask anything? Be our guest, give us a message.

Name Email * Message *

FaceBook Like