Using the Java StringBuffer class

preview_player
Показать описание
This series of videos is suitable for programmers with some programming or Java experience who want to learn object-oriented programming and dig deeper into some other Java features. This video is an introduction to the StringBuffer class. It covers the inefficiency of string manipulations with String objects and how to substitute a StringBuffer object. This video is suitable to watch after reading Chapter 7 of Java, Java, Java: Object-oriented problem solving, by Morelli, Walde, and Hoffman. However, the video is very straightforward and can also stand alone or accompany any other textbook that has introduced Java Strings and a little bit of object-oriented programming. Let's have some fun learning to program in Java!

Here is the introductory video on Strings:

The classes in this video are in my github repository, available here:

Here is the Java, Java, Java text:

You can practice writing the StringBuffer search and replace method here*:

If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Advanced Java course:

00:00 Memory inefficiency manipulating strings
02:36 The StringBuffer class
04:26 Find and replace with the StringBuffer class
Рекомендации по теме