RE: correct the format

System.out.println(“final total is : “,+ addfinalTotal +);
addfinalTotal  it will return double value…

is not working….

Add Comment
2 Answers

“final total is : “,+ addfinalTotal + —- it isn’t java syntax
use System.out.println(“final total is : “+ addfinalTotal);

Reviewer Answered on July 10, 2015.

And of cause, write feedback.

on July 10, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.