Tutoring…

Today I started tutoring my sister…. at the end of the course she needs to be capable of writing a search engine for one of the subjects in her CKI Bachelor/Masters; in Java.

I introduced her to the basics of OO, and how it translates to Java. After this we did a basic Eclipse tour, and wrote a small program:

public class MyApplication{

public static final void main(String[] args){

LineWriter lw = new LineWriter(args);
lw.writeLine();

lw.writeReversedLine();
}
}

And:

public LineWriter{

private String[] line;

public LineWriter(String[] initLine){

line=initLine;
}
public void writeLine(){

……………………
}
public void writeReversedLine(){

……………………
}
}

I must admit, I totally forgot how difficult stuff like constructors, arrays and for-loops can be…. when she went home I noticed a mixture of confusion and disbelief in her eyes…. let’s see if I can change this into something like ‘aha, so that’s how the pieces fit together’ and trigger the Aha-Erlebnis next week!


1 Response to “Tutoring…”

  1. 1 Frans Maas

    Hahaha - Benidorm revisited!

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


Golden Gate smashmouth Greenland sea_lion Community One Keynote Moscone Center - JavaOne alcatraz javaone2008 keynote Okke en Rudie Java + You on a cab Charles Nutter & Guillaume Laforge javaone 2008 goodybag Scribbled Sun Logo Acme Anvile at CommunityOne Keynote Stretched Limo Joshua Bloch at JavaOne2008 Cable Car line Stage being build in the nearby park pub Rudie
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.