Web Development Angular Mcq
Oct 23, 2025

What is the purpose of ngOnInit lifecycle hook?

Choose the correct answer:
A) To destroy the component
B) To initialize the component
C) To update the component
D) To render the component
Detailed Explanation
To initialize the component
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback