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

IMG_4608.JPG dorade neal ford @ javasummercamp 2008 IMG_4682.JPG IMG_4706.JPG javaone2008 keynote IMG_4654.JPG Joshua Bloch at JavaOne2008 IMG_4708.JPG IMG_4616.JPG sfeervolverlichte boot IMG_4599 maan IMG_4597 Tim Bray introducing the (J)Ruby panel zolder_oud IMG_4552.JPG MGA Engine IMG_6147 plant
View more photos >

Categories



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