|
public class JPLSimple {
/**
* The constructor for this class.
*/
public JPLSimple() {
}
perl void sayHelloToTheNicePeople() {{
@people = ('Nemo', 'Flip', 'Dr. Pill');
foreach (@people) {
print "Hello, $_.\n";
}
}}
/**
* The main() method.
*/
public static void main (String[] argv) {
JPLSimple js = new JPLSimple();
js.sayHelloToTheNicePeople();
}
|
|