Define array. Tell me about 2-D array.



Define array. Tell me about 2-D array...

Answer / Nikita Jakhodia

An Array: It is a data structure that stores a collection of elements of the same data type in contiguous memory locations. A 2-D Array: It is an array where each element is itself an array and can contain multiple dimensions, like rows and columns.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?

3 Answers   DNS, Wipro,


Difference between final and effectively final ? Why is effectively final even required ?

1 Answers  


Can you extend singleton class?

1 Answers  


Is string pool garbage collected?

1 Answers  


Which class is the superclass for every class in java programming?

1 Answers  


What are inner and anonymous class?

3 Answers  


What are the types of java?

1 Answers  


How does linkedlist work in java?

1 Answers  


Write a function to find out longest palindrome in a given string?

1 Answers  


diffrence b\w println() and printf()

8 Answers   NIIT,


What is the length of a string?

1 Answers  


In how many ways we can create threads in java?

1 Answers  


Categories