| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/CSapprenticeWT/OnJava8-Examples/master/control/ForInString.java | [Back] [Original] |
// control/ForInString.java
// (c)2021 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
public class ForInString {
public static void main(String[] args) {
for(char c : "An African Swallow".toCharArray())
System.out.print(c + " ");
}
}
/* Output:
A n A f r i c a n S w a l l o w
*/
| Web Proxy Viewer | New URL | Original Page |