2 ms·You could have the subscripting method check at runtime and return an Optional.by saagarjha 8y agoYou could have the subscripting method check at runtime and return an Optional.