Java question

This is a discussion on Java question within the Tech Board forums, part of the Community Boards category; I have a particularly bad time with java forums, and I have a question. I was thinking that this question ...

Java question

I have a particularly bad time with java forums, and I have a question. I was thinking that this question is more for c/c++ people anyway. I created some functions that I want to use. However, it isn't object oriented and java forces me to put them in a class. So, like the Math class, I made it static. However, static proliferates and is everywhere in my code. I was wondering if there is a better way to do this without shoving all the methods in a class and then making everything static. Java seems to force object orientedness down your throat arg!

>> I created some functions that I want to use. However, it isn't object oriented and java forces me to put them in a class. So, like the Math class, I made it static. However, static proliferates and is everywhere in my code. I was wondering if there is a better way to do this without shoving all the methods in a class and then making everything static. Java seems to force object orientedness down your throat arg!

Unfortunately, no. Java doesn't provide a facility for "importing" a namespace, so you're basically stuck with using the fully qualified name (short of writing a wrapper function, of course).