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 |
What is run-time class and system class? what is their purpose?
Explain an intermediate language?
explain the difference between jdk and jvm?
What is use of static method?
Name the package that always imported by default?
a thread is runnable, how does that work? : Java thread
What is primitive array?
What is the use of anonymous inner classes ?
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
What is the use of parseint in java?
Can we have a method name same as class name in java?
Which list is sorted in java?