Question: What method signature will work with this code?

  1. public void isHealthy(String avocado)
  2. boolean isHealthy(String string)
  3. public isHealthy("avocado")
  4. private String isHealthy(String food)

Answer: The correct answer of the above question is Option B:boolean isHealthy(String string)