Quote:
Originally Posted by BigJ
So, in Java, what super() does is if you're extending a class, it calls the constructor of the class you're extending (or superclass). So, right now, it's trying to call Joystick(). If we look at the javadoc for Joystick, we can see the valid constructors for Joystick. You probably want to sue the 1-argument one, and change it to super(port).
|
Thanks and thank you , BigJ.

I have bought a couple of books to use in teaching our programmers Java post-season, but I am still looking for one that can give a "Cliif Notes" intro into Java. As a programmer of other languages for 25+ years, I get the concepts of programming, but OOP, specifically Java, are new to me; hence, I am looking for something that gives a high level breakdown of the various structures (e.g. class, method, variable, construct, instance, etc.), what each typically requires, how each uses or feeds the others, etc. Any advice will be pput to use post-haste.