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

I need a little help

Giancarlo Yataco

Joined: Feb 01, 2009
Posts: 2

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

Joined: Jul 08, 2003
Posts: 24199

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:
subject: I need a little help
It's not a secret anymore!