Strings rA string is a sequence of characters that is treated as a single value r The string data type is used to represent strings in Java r We have been using String objects all along. For example, to display a text with message Box, we write messageBox. show(Hello, how are you?) C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 8-6© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 8 - 6 Strings A string is a sequence of characters that is treated as a single value. The String data type is used to represent strings in Java. We have been using String objects all along. For example, to display a text with messageBox, we write messageBox.show( “Hello, how are you?” );