A PHP example:$arr["foo"] = "bar"PHP Code:$arr = array("foo" => "bar", 12 => true);
echo $arr["foo"]; // bar
echo $arr[12]; // 1
$arr[12] = 1
Can you do this with Java arrays? If so, how?
|
+ Reply to Thread
Results 1 to 2 of 2
Thread: Using keys in Java arrays?
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S. Wed Yourself to UML with the Power of Associations Microsoft to Add AJAX Capabilities to ASP.NET IBM's Cloudscape Versus MySQL | ||||||||||||||||||||||||||||||||||
![]() | |||||
|
| |||||
![]() |
Bookmarks