man i miss c++, my colleges comp sci dep. decided to switch to java...(they are morons)

import java.util.Scanner;
Scanner in=new Scanner(System.in);
double x=0;
System.out.println("Please enter a number");
x = nextDouble();

all that can be done with a cin cout....(and thats the new "easy" way) not to mention java virtual machine is a pos...