What is the output of the following code?
public class Main { public static void main(String[] args) { double a = 6.5; a += a + 1; System.out.println(a); // Expression } }
Click to view the answer
14.0