DVD Talk
Need help with Java and the "this" operator. [Archive] - DVD Talk Forum


View Full Version : Need help with Java and the "this" operator.

12-11-03, 06:09 PM
I wrote a nested class that extends a "queue" class from another file.

Inside this nested class there are some methods. I am trying to call the methods from the "queue" with the extended class.

I am trying this.peek() and this.enqueue(). I don't know why its not recognizing these methods, they should be part of the nested class, because it inherits ALL of the methods of the parent class.

Any ideas? Does this have to do with the fact that its a nested class?

Content Relevant URLs by vBSEO 3.2.0