Bhathiya Pathirana wrote:@Henry Wong
i initialized queArray variable
this time i don't get any errors but it does not get filled up so when i retrieve it is EMPTY
Bhathiya Pathirana wrote:@Henry Wong Subject line is changed Thank for the info
Bhathiya Pathirana wrote:This is functioning properly
Bhathiya Pathirana wrote:When i'm debugging
above lines are successfully executed and the variable values are
queArray==#1020(length=5)
maxSize==5
Bhathiya Pathirana wrote:queArray is not null
Bhathiya Pathirana wrote:
i get no error but when i try to retrieve, it is empty
Bhathiya Pathirana wrote:i'm really sorry, it's just i'm a beginner but thank you very much for trying to help me out
i get no error but when i try to retrieve, it is empty
Eoin Brosnan wrote:Can you see the conflict?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:
Eoin Brosnan wrote:Can you see the conflict?
You mean that compiler error on line 11? But if you leave out the "private" on that line then your example is a good one of local variables shadowing / hiding instance fields.
Every time you till, you lose 30% of your organic matter. But this tiny ad is durable:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|