Q. Which command is used to add a new component via Angular CLI?
β
Correct Answer: (A)
ng generate component
Explanation: ng generate component creates a new component in the project.