Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Eels on Dec 16, 2016



Title: What will be displayed after the following statements have been executed?final double x;x = ...
Post by: Eels on Dec 16, 2016
What will be displayed after the following statements have been executed?

final double x;
x = 54.3;
System.out.println("x = " + x );

A) x = 54.3
B) x = 108.6
C) x
D) Nothing, this is an error.


Title: Re: What will be displayed after the following statements have been executed?final double x;x = ...
Post by: Toothy on Dec 17, 2016
Content hidden


Title: Re: What will be displayed after the following statements have been executed?final double x;x = ...
Post by: Eels on Jan 31, 2017
I was nearly about to give up, thanks


Title: Re: What will be displayed after the following statements have been executed?final double x;x = ...
Post by: Toothy on Mar 16, 2017
I'm happy to help