Build your intuition. Click the correct answer from the options.
Consider you have used the 'update' method of the KeyValueStore class to update the value of the key 'lakers' with new value 'LA Lakers'. But the key 'lakers' doesn't exist in the store. What will happen?
Click the option that best answers the question.
- It will update the value and doesn't throw any error
- It will throw an error, as the key doesn't exist in the store
- It will add the new key-value pair to the store
- None of the above