Question: please complete the function below: /** * size * size returns the number of key-value pairs in the symbol table. * it returns 0 if

please complete the function below:

/**

* size

* size returns the number of key-value pairs in the symbol table.

* it returns 0 if the symbol table is empty.

*/

public int size () {

return -1; // ToDo 1 fix this

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!