Let`s get some stuff straight. There`s scripting, and there`s programming. Generally, the difference is in the way resulting code is processed by computer.
If it`s scripting, then script is saved as is, and during it`s execution interpreter runs over the program and sends commands to hardware.
If it`s programming, then program is compiled and requires no external interpreter to be launched to execute it.
As such, C++ is programming language - it produces programs that can work with hardware directly.
Java, on the flip side, is script language - it requires runtime environment to be preinstalled to do anything.
___
On a side note, scripting languages are interchangeable to a degree and a person with core understanding of programming process can adapt to new scripting language fast enough to perform debugging and minor alteration almost from the get-go. So your question has no definite answer, nor is even correct in it`s current form - the only two valid answers would be "none" and "over 9000".