Convert php to java/android arrays

Posted by lacas on Stack Overflow See other posts from Stack Overflow or by lacas
Published on 2010-12-21T12:45:55Z Indexed on 2010/12/21 12:54 UTC
Read the original article Hit count: 196

Filed under:
|
$tagArray = array(
    "apples" => 12,
    "oranges" => 38,
    "pears" => 10,
    "mangos" => 24,
    "grapes" => 18,
    "bananas" => 56,
    "watermelons" => 80,
    "lemons" => 12,
    "limes" => 12,
    "pineapples" => 15,
    "strawberries" => 20,
    "coconuts" => 43,
    "cherries" => 20,
    "raspberries" => 8,
    "peaches" => 25
    );

and how i can do this in java, and how to calling for the first and second params?

© Stack Overflow or respective owner

Related posts about java

Related posts about php