Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java invoker

Name: Anonymous 2012-12-01 19:13

In Java, is it possible to get the invoker of a class? I am trying to create two classes simultaneously but I want them to reference each other, preferably upon creation(constructors) if possible. I know I can sort of do it by returning the stack trace, but this doesn't exactly seem... proper. Any ideas /prog/?

Name: Anonymous 2012-12-01 20:04

>>16

I would have to say so, along with C (but the program complexity varied wildly between the two when we were given assignments, so much more Java). My university is focused on OOP as you can most likely tell, and functional programming - but that's another story. You seem very experienced with programming, my guess is you may be a tutor of sorts as your explanations were well-rounded? But hey, I could be mistaken heh.

I would also like to say that I really appreciate your help tonight, I also managed to search engine the invoker question, but it turns out I was asking the wrong question as I was getting far to caught up in the OOP concept(s).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List