Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

4.1.1. More On Strings¶


public class StringArray
{
    private static final String[] stringArray = {
        "AAA",
        "AAB",
        "AAA",
        "AAC",
        "AAA"
    };
}

public class LongString
{
    private static final String longString =
        "AAA"
        + "AAB"
        + "AAA"
        + "AAC"
        + "AAA"
    ;       
}

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #More #On
ADD COMMENT
Topic
Name
9+7 =