life is too short for a diary



Posts Tagged: java (Page 11)

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



Transforming a blocking method to a reactive one using Spring Reactor

Reactive programming is becoming increasingly popular in modern software development, and the use of reactive frameworks like Spring Reactor and RxJava is becoming more common. Reactive programming is an event-driven approach to programming that emphasizes asynchronous data streams, non-blocking I/O, and functional programming...

Continue reading → reactive programming java



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