Programming Languages

Python

      
        for character in "abc":
          print(character.upper())  # Prints A, then B, then C
      
    

C#

      
        public class Cat {
          // Method of the Cat class
          public void speak() {
            Console.writeline("Meow!");
          }
        }
      
    

Java

      
        String[] names = { "Zoe", "Chloe", "Joey" };

        // Print all of the names in the array
        for (String name in names) {
          System.out.println(name);
        }