A

Admin • 825.56K Points
Coach

Q. Which interface is implemented to use ngOnInit?

  • (A) OnChanges
  • (B) OnDestroy
  • (C) OnInit
  • (D) DoCheck
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
To use ngOnInit, a component implements the OnInit interface.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.