Quote Originally Posted by lkiller123 View Post
Well, thanks for dropping by.



Gosh that's fast..
Loved the side comments!
Can you explain more in depth on the "public class Dot() implements Locatable" part?

You are a life saver!
Um, yeah... you have to have all of these things contained within a class, just like your main method is contained within a class. The public is because you want to be able to make dot objects outside of the class, class designates it's a class, Dot() is the name of the class - this must be the same name as your constructor, and if you want to implement another class you simply say implements such-and-such. The only thing is if you say implements you MUST DEFINE EVERY METHOD within the class you are implementing... I didn't realize that till after my test back when I took it, and it hurt.

If you have any other questions I'll be up at ~6:15 am your time and I'll check this before I run to class.

Hope that answers it for ya.

Oh, and not that it matters, but it's good coding practice to put your constructors before your accessor methods... I didn't do that. Sorry.