Submitted Questions

  • Collections

    What is the difference b/w 2d array and hashmap?Where we have to use this?Explain ? Thanks in advance

    jahir

    • Apr 9th, 2015

    Array is fixed size and it has doesnt fixed data structure so there is no ready-mate methods for operating we write the explicitly write code burden for the programmer. Advantage: performance wise i...

    kalyankarri

    • Dec 26th, 2014

    2d array is fixed in size ,hashmap size is not fixed 2d array rep.set of elements a[][],hashmap is (key,value) pair in 2d searching is slow ,it visits each n every element ,searchng is based on key ...