what is associative array



what is associative array..

Answer / palepu sadashiv

An associative array is a very useful data structure for all kinds of application. An associative array is just a set of (key, value) pairs. Many programming languages, such as PHP and Perl (using hash variables) implement the functionality to work with these structures. Also Java incorporates associative arrays in the form of instances of the java .util.Hashtable class.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Write a function to print Fibonacci series and Tribonacci series?

0 Answers   Hexaware,


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data

1 Answers  


Why heap memory is called heap?

0 Answers  


What is java lang object?

0 Answers  






What is Map interface?

3 Answers   Wipro,


Explain jvm, jre, and jdk?

0 Answers  


What is the benefit of lambda expressions?

0 Answers  


does java support default argument in Method?

1 Answers  


What is the difference between equals() and?

0 Answers  


diff. b/w JAVA and javascript...

3 Answers   NIIT,


What is a line break?

0 Answers  


Categories