package net.bunnie.dos; import net.bunnie.*; public class HelloWorld { public static void main (String[] args) { String[] helloWorld = {"Hello", ",", " world!\n"}; int i = 0; do { System.out.print(helloWorld[i]); i++; } while (i < helloWorld.length); String helloWorldString = "Hello, world!\n"; char[] helloWorldArray = helloWorldString.toCharArray(); int x = 0; do { System.out.print(helloWorldArray[x]); x++; } while (x < helloWorldString.length()); } }