Q. What does the inject() function replace?
β
Correct Answer: (B)
Constructor-based dependency injection
Explanation: inject() allows DI without constructors.