Learn how to create strings in Java; how strings are different from character arrays and how to build large strings for efficient execution of programs.
Category: Java
This category contains the following 3 articles.
What are Factory Methods and Why Use Them?
Learn what are factory methods in context of system design approach. I will also explain how to use these methods to write more efficient code.
Java Memory Management: Heap Space and Garbage Collector
Learn about how Java manages memory through heap space and garbage collection. Understanding memory allocation can help avoid memory leak in Java programs.