Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

two array structures in java

String[] MONTHS = {
    "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", 
    "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
...
System.out.println(MONTHS[m]);
Source by introcs.cs.princeton.edu #
 
PREVIOUS NEXT
Tagged: #array #structures #java
ADD COMMENT
Topic
Name
5+3 =