Multiple choice technology web technology

This action have an empty showSuccess.php template. What will be the output?

  1. public should not be there in codes

  2. Error in action.

  3. Displays showSuccess.php

  4. None of above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Symfony 1.x, action methods must return a value (typically a view name or response). An empty executeshow method with no return statement will cause an error because Symfony expects the action to return something. Option C is wrong because there's no return to render the template.