Skip to main content
Adding the real tag of the solution that was being looked for
Link

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?

$arr[0]['name'] = 'demo'; $arr[0]['fname'] = 'fdemo'; $arr[1]['name'] = 'test'; $arr[1]['fname'] = 'fname'; 

How can I create and fetch associative arrays in Java like I can in PHP?

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

$arr[0]['name'] = 'demo';

$arr[0]['fname'] = 'fdemo';

$arr[1]['name'] = 'test';?

$arr[1]['fname'] = 'fname';

$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

$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?

$arr[0]['name'] = 'demo'; $arr[0]['fname'] = 'fdemo'; $arr[1]['name'] = 'test'; $arr[1]['fname'] = 'fname'; 
1995 to 2011
Source Link
Steve Kuo
  • 63.3k
  • 75
  • 200
  • 260
Loading
Source Link
dobs
  • 2.8k
  • 2
  • 22
  • 19
Loading