EJEJ Junginejjung.hashnode.dev00StringBuilder vs StringBuffer3d ago · 3 min read · 1. Why StringBuilder and StringBuffer Exist In Java, String objects are immutable. Every time a string is modified, a new object is created. For more details, check out my previous post here. Each conJoin discussion
EJEJ Junginejjung.hashnode.dev00Understanding Java Garbage Collection3d ago · 3 min read · 1. Why Garbage Collection Exists In many programming languages, developers must manually free memory when objects are no longer needed. If memory is not properly released, the program may suffer from Join discussion
EJEJ Junginejjung.hashnode.dev00String vs StringBuilderMar 12 · 3 min read · 1. Why Strings Are Immutable In Java, String objects are immutable, which means their values cannot be changed after they are created. Example String s = "apple"; s = s + " pie"; System.out.println(sJoin discussion
EJEJ Junginejjung.hashnode.dev00Understanding the Java String PoolMar 11 · 4 min read · 1. What Makes String Special in Java In Java, String behaves differently from most other objects. One of the main reasons is the String Pool, a special memory area used to optimize memory usage. SinceJoin discussion
EJEJ Junginejjung.hashnode.dev00Java SerializationMar 9 · 4 min read · 1. What is Java Serialization Java Serialization is a mechanism that converts an object into a byte stream so that it can be: saved to a file transmitted over a network cached or persisted transfeJoin discussion