DVD Talk
Need help with Java and the "this" operator. [Archive] - DVD Talk Forum
 
Best Sellers
1.
2.
3.
4.
5.
6.
7.
8.
The Longest Day
Buy: $54.99 $24.99
9.
10.
DVD Blowouts
1.
2.
3.
4.
5.
6.
7.
Alien [Blu-ray]
Buy: $19.99 $9.99
8.
9.
10.

PDA
DVD Reviews

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


darkessenz
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?