life is too short for a diary



Posts Tagged: interview

Cribsheet for String in Java

Strings are immutable in java. It's best to convert string to StringBuilder/StringBuffer so that it's memory efficient for string manipulation...

Continue reading → java interview



Cribsheet for Set in Java

A set in Java is a collection that stores a unique set of elements. This means that there are no duplicates in a set. You can define set using HashSet, TreeSet, or LinkedHashSet...

Continue reading → java interview