Question: How do you convert this method into a lambda expression?

  1. `Function squareLambda = (int x) -> { x * x };`
  2. `Function squareLambda = () -> { return x * x };`
  3. `Function squareLambda = x -> x * x;`
  4. `Function squareLambda = x -> return x * x;`

Answer: The correct answer of the above question is Option C:`Function squareLambda = x -> x * x;`