Q. What does the Angular CLI command 'ng generate component my-component' do?
β
Correct Answer: (A)
Creates a new component named 'my-component'
Explanation: This CLI command scaffolds a new component with template, style, and spec files.