Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
How tocan I create and fetch associative arrayarrays in Java, like thisI can in phpPHP?
For example:
$arr[0]['name'] = 'demo'; $arr[0]['fname'] = 'fdemo'; $arr[1]['name'] = 'test'; $arr[1]['fname'] = 'fname';
How to create and fetch associative array in Java, like this in php?
How can I create and fetch associative arrays in Java like I can in PHP?
How to create and fetch associative array in Java, like this in php
$arr[0]['name'] = 'demo';
$arr[0]['fname'] = 'fdemo';
$arr[1]['name'] = 'test';?
$arr[1]['name'] = 'test';
$arr[1]['fname'] = 'fname';