Sunday, 15 September 2013

Why do I need a TestDriver when using Java?

Why do I need a TestDriver when using Java?

Today, I had my first Java lecture at the university and I heard a lot
about HelloWorld and a TestDriver. I somehow get the concept that the
TestDriver is the class that starts you program. But what is the advantage
of having a TestDriver? Why can't I just write a main method in my
HelloWorld class and start it from there?

No comments:

Post a Comment