Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


String, StringBuffer & StringBuilder for JAVA Interviews

via Udemy


To clear Java interviews with confidence

What you'll learn:
  • Student can get much perfection on Java String , StringBuffer and StringBuilder concepts

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()


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

Taught by


Related Courses


Start your review of String, StringBuffer & StringBuilder for JAVA Interviews

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free