Title: What will be the displayed when the following code is executed?final int x = 22, y = 4;y += ... Post by: Eels on Dec 16, 2016 What will be the displayed when the following code is executed?
final int x = 22, y = 4; y += x; System.out.println("x = " + x + ", y = " + y); A) x = 22, y = 26 B) x = 22, y = 4 C) x = 22, y = 88 D) Nothing, this is an error. Title: Re: What will be the displayed when the following code is executed?final int x = 22, y = 4;y += ... Post by: Toothy on Dec 16, 2016 Content hidden
Title: Re: What will be the displayed when the following code is executed?final int x = 22, y = 4;y += ... Post by: Eels on Jan 31, 2017 This brought my confidence back up, thanks
Title: Re: What will be the displayed when the following code is executed?final int x = 22, y = 4;y += ... Post by: Toothy on Mar 16, 2017 Good luck tackling the rest
|