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 |
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?
Difference between final and effectively final ? Why is effectively final even required ?
Can you extend singleton class?
Is string pool garbage collected?
Which class is the superclass for every class in java programming?
What are inner and anonymous class?
What are the types of java?
How does linkedlist work in java?
Write a function to find out longest palindrome in a given string?
diffrence b\w println() and printf()
What is the length of a string?
In how many ways we can create threads in java?