Re: Unexpected type error
- From: Nigel Wade <nmw@xxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 13:45:14 +0000
justineee wrote:
wordsList.get(y)=wordsList.get(y+1);//this is where
wordsList.get(y+1)=temp;// and here the error
What type of object is wordList? Does it's get() method provide an lvalue that
can be assigned to? [Can any method be an lvalue?]
You would have a much greater chance of getting a useful response if you
provided full context for the error, and the actual error message.
--
Nigel Wade
.
- References:
- Unexpected type error
- From: justineee
- Unexpected type error
- Prev by Date: Re: UDP firewall
- Next by Date: Re: UDP firewall
- Previous by thread: Re: Unexpected type error
- Next by thread: why String s = new String("test") is bad?
- Index(es):
Relevant Pages
|