| Release List | Reviews | Shop | Join | News | DVD Giveaways | Video Games | Advertise |
| DVD Reviews | Theatrical Reviews | Adult DVD Reviews | Video Game Reviews | Price Search | Buy Stuff Here |
|
|||||||
| Tech Talk Discuss PC Hardware, Software, Internet and Other Technology |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DVD Talk Special Edition
Join Date: Mar 2002
Location: MI
Posts: 1,921
|
Need help with Java and the "this" operator.
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? |
|
![]() |
| Thread Tools | |
|
|