C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
In Java, you have to declare the type of the variable with the variable, for example,
int a; float f;
var a; var f