正在加载图片...
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?” );
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有