Calling Methods without classes
Hi,
Here is my situation:
Class A has a static printMe(text); method in it. Just displays to stdout.
Class B has methods X,Y,Z.
I would like to use printMe within Class B without doing this:
ClassA.printMe("Test");
I can do this obviously if I subclass, but that is not an option. I know in JUnit 4, you just need to put an @Test before a method and then you can easily call your assert methods. So I am looking for something of that nature. Any information would be great! Links, posts, etc.
Thank you,

