filmov
tv
Java Quiz 18 - Which of these is immutable class? #java #quiz
Показать описание
Java Quiz 18: Which of these is an immutable class in Java?
In Java, the String class is a prime example of an immutable class. Once a String object is created, its value cannot be changed. Any modification to a String creates a new object, leaving the original unchanged. This immutability provides thread-safety and efficient memory management. Want to learn more about immutability in Java? Take this quiz and enhance your understanding!
#java #quiz #javaquiz #javamcq #codingtips
In Java, the String class is a prime example of an immutable class. Once a String object is created, its value cannot be changed. Any modification to a String creates a new object, leaving the original unchanged. This immutability provides thread-safety and efficient memory management. Want to learn more about immutability in Java? Take this quiz and enhance your understanding!
#java #quiz #javaquiz #javamcq #codingtips