Archived

This topic is now archived and is closed to further replies.

CyberSlag5k

Java extensions

Recommended Posts

I have a Java applet class that currently has a header (is that hte right terminology) that looks like this: public class BrickAssault extends Applet implements Runnable Now, I would like to use the absolute value function as outlined here: http://www.cs.duke.edu/csed/ap/subset/doc/ap/java/lang/Math.html I have already ipmorted java.lang.* so if my day-old understanding of java is correct, the class is available to me and I just need to "implement" the math class as I have done with Runnable above. Is this correct? And if so, what is the syntax for implementing multiple classes. When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...

Share this post


Link to post
Share on other sites
Yup, definitely figured it out about 10 seconds after posting. Thanks anyway.

When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...

Share this post


Link to post
Share on other sites