Calling Entire Classes.

Hi everyone, I’ve decided to make a small 2d platformer in Java, but my knowledge is limted to a Java for Dummies guide and what I learnt in grade 12 programing.

I know how to call methods from other classes within the same package. But is it possible to call an entire class?

Thanks for all help :slight_smile:

Based on the fact that im not sure what you mean, im going to guess no? Unless you meant instantiating an object from a class

you can create an object of the class to get the methods, or implement…?

classname f = new classname();
f.amethodfromtheclassname();

?isthat what you mean?

I woudl recommend doing the entire Java Tutorial.

http://java.sun.com/docs/books/tutorial/index.html