shared sub visual basic/ java replacement?
one of my first languages I learned was visual basic. you had to ability to create shared subs. if you create a shared sub or function and then imported the class containing the sub or function in another class you could call the function like this: sub()
I am bad at explaining so let me give an example:
shared sub println(byval text)
and when you implemented that class
you could type println() instead of utils.println()
now my vb is very rusty and the example is not correct but I think you get what I mean
is this also available in java?
it would come in really handy for what I am doing