×

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 (4)?

25. 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">
      "Hello" {{ c }}
    </li>
  </ul>
</div>
  1. Prints the city names with "Hello" in an unordered list
  2. Prints the city names with "Hello" in an ordered list
  3. Prints the all name of the city with "Hello" 3 times in an unordered list
  4. None of the above

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

Explanation:

The output will be:

The cities...

  • "Hello" Mumbai
  • "Hello" New Delhi
  • "Hello" Banglore

Comments and Discussions!

Load comments ↻






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