Using a conditional statement based on a key value pair's value in Java

前端 未结 0 772
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-03 16:47

Is it possible to use conditional statement(s) based on a hashmap\'s key value pair? For instance if I have a hashmap with {Apple=1} and wanted to return a String if the value i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题