Answer:
int k=0;
for(int i=0;i<=13; i++)
{
if (table[i].getKey().equals(key))
{
k=i;
}
else
{
continue;
}
}
V value= table[k].getValue();
return value;
}
Explanation:
Note table[i] is an entry, and we know the key as it is an argument input to the function. Hence, we find the entry position using the given key, and then find the corresponding value and return it. And this is what is required. There are 14 entries in this hashtable, as known from the question.
For learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).
mark me brainliestt :))
Not really. xD
I only see "Not A.." and It's backwards too soooo..