This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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: 24189

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