Exercise 4 3
public class exercise_4_3    
{
    public static void baffle (String blimp) {
        System.out.println (blimp);
        zippo ("ping", -5);
    }
 
    public static void zippo (String quince, int flag) {
        if (flag < 0) {
            System.out.println (quince + " zoop");
        } else {
            System.out.println ("ik");
            baffle (quince);
            System.out.println ("boo-wa-ha-ha");
        }
}
 
    public static void main (String[] args) {
        zippo ("rattle", 13);
    }
}

voltar

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.