×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Consider the below statement – what will be the output (3)?

24. Consider the below statement – what will be the output?

<div ng-app="" ng-init="cities=['Mumbai','New Delhi','Banglore']">
  <p>The cities...</p>
  <ul>
    <li ng-repeat="c in cities">
      {{ c }}
    </li>
  </ul>
</div>
  1. Prints the city names in an unordered list
  2. Prints the city names in an ordered list
  3. Prints the all name of the city 3 times in an unordered list
  4. None of the above

Answer: A) Prints the city names in an unordered list

Explanation:

The output will be:

The cities...

  • Mumbai
  • New Delhi
  • Banglore

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.