Tuesday, July 11, 2006

 

¡Yo Programo, Entonces Yo Existo!


imports theonebody.believer.*;
imports family.*;
imports inclinations.technical.*;
imports hablar.Español;

class What
{

    private String it;
    boolean canItBe;

    public What(String whatIsIt)
    {
        this.it = whatIsIt;
    }

    public boolean getCanItBe()
    {
        return this.canItBe;
    }

    public void setCanItBe(boolean forReal)
    {
        this.canItBe = forReal;
    }

    public String getIt()
    {
        return this.it;
    }

    public void setIt(String newIt)
    {
        this.it = newIt;
    }

    public toString()
    {
        return "Guess what, everybody!  " + this.it;
    } 
}


public class Yo extends Christian 
    implements Husband, Daddy, Brother, Programmer, Student
{
    private Wife becky;
    private Kid[] kids;

    public Yo()
    {
        becky = HotMomma.getInstance();

        kids = new Kid[1];
        kid[0] = new Baby(Family.BOY);
    }

    public void breakTheNews()
    {
        What theLatest = new What("David has a blog!!");
        theLatest.setCanItBe(true);

        System.out.println(theLatest);
    }


    public void brag()
    {
        System.out.println("Oh, and in case you're the last to hear, " +
            "WE'RE HAVING A BABY BOY!!!!!!!!");
    }

    public void preach()
    {
        System.out.println("If you confess with your mouth, \"Jesus is Lord,\" " +
            "and believe in your heart that God raised Him from the dead, " +
            "you will be saved!");
    }

    /*
     * Explanation: This is here because people tend to turn into their
     * own parents (i.e. treat their kids the same way) when they have kids.
     */
    public void turnIntoMyDad()
    {
        // Note:  This was considered a bug in the genetic code and was
        // "summarily" ( <--whatever that means ) removed.
        // jumpTheFenceToShootArrowsOnAHolidayWithAReporterRightThere();

        System.out.print("It's time to seek the Lord.....aaaat ");
        family.DadActions.lookAtWatch();
        System.out.println(Calendar.getInstance().getTime().toString());
    }

    public static void main(String[] args)
    {
        Yo me = new Yo();

        me.breakTheNews();
        me.preach();
        me.brag();

        // The following code may turn up in a future release (no!!!!!!)
        // me.turnIntoMyDad();
    }
}

Comments:
Very clever. I don't know what the last function is about . . . but I like the other functions :) --especially brag.
 
funny! I'd say the program worked! The news is out!
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?