
UdemyThis course zeroes in on a classic Java interview topic: the differences between String, StringBuffer, and StringBuilder. It's built around the kind of detailed, why-does-this-work-this-way questions that come up in technical interviews rather than general Java fundamentals.
Java developers preparing for technical interviews, or anyone who wants a firmer grasp on string immutability, the String Constant Pool, and mutable string builders.
The interview framing is useful even outside interview prep — understanding immutability and the constant pool tends to clear up subtle bugs around string comparison and memory that trip up developers at every level.
The student can get complete knowledge on the following topics:
1. Difference between String and StringBuffer:
* Mutability Vs Immutability
* equals() method
2. String Objects Creation : Heap and String Constant Pool(SCP)
3. Importance of String Constant Pool(SCP)
4. Important FAQs on String and StringBuffer
5. Important Constructors of String class
6. Important Methods of String class:
charAt(), concat(), equals(), equalsIgnoreCase()
isEmpty(), length(), replace(), substring()
indexOf(), lastIndexOf(), toLowerCase(), toUpperCase()
trim()
7. Important Conclusions about String Immutability
8. Creation of Our Own Immutable Class
9. final vs immutability
10. Need of StringBuffer ?
11. StringBuffer class Constructors
12. Important Methods of StringBuffer class:
length(), capacity(), charAt(), setCharAt(), append()
insert(), delete(), deleteCharAt(),reverse()
setLength(), ensureCapacity(), trimToSize()
13. Need of StringBuilder
14. Differences between StringBuffer and StringBuffer
15. String vs StringBuffer and StringBuilder
16. Method Chaining
Advertisement
More in Development







