Examlex

Solved

Consider the Following Code Snippet, Which Computes H, the Array

question 41

Multiple Choice

Consider the following code snippet, which computes h, the array index for storing x in a hash table.
Int h = x.hashCode() ;
If (h < 0) { h = -h; }
H = h % size;
What does size correspond to?


Definitions:

Related Questions