Q. What command is used to generate a new component using Angular CLI?
β
Correct Answer: (A)
ng generate component
Explanation: `ng generate component` or `ng g c` is used to scaffold a new component.