public class Copy1 { public static void main(String[] args) { double a = 3.14; // Original variable double b; // The copy b = a; // b is a copy of a System.out.println("a = " + a); System.out.println("b = " + b); b = b+10; // Update the copy must not change the original System.out.println("Values after updating the copy b:"); System.out.println("a = " + a); System.out.println("b = " + b); } }