my dog learned polymorphism*
The moose likes Beginning Java and the fly likes I need a little help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I need a little help" Watch "I need a little help" New topic
Author

I need a little help

Giancarlo Yataco
Greenhorn

Joined: Feb 01, 2009
Posts: 2
Hi

I need help folks!. I got confused with the next code. Can somebody explain me what exactly happens in Line 05(int x=z=1)?
Thanks in advanced.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

As written, nothing happens; the code won't compile, since z is undefined.

Please quote your sources when posting exam questions.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need a little help
 
Similar Threads
question about variables changed inside methods
Help understanding an output
nesting loops
explain this ...please
x++ , ++x