Your trainer doesn't seem like a real professional to me. A professional would never make such a statement.
As far as speed is concerned, system nowadays come packed to the boot with resources -- a couple of hundred MB of RAM, atleast a 1Ghz CPU.
Performace -- yes. C/C++ beats Java but in what scenario? Considering my software would run on an average PC, the difference is insignificant. You would be surprised if I start naming companies who use Java as a programming language for their softaware development. The current business world runs on 2.5 major platforms -- Java / .NET / Python (the 1/2).
Each of the languages have a different place in the software development scene and I personally don't get started on language wars because I feel its a moot point. I respect all lanaguages and when time comes I would use the most appropriate tool to achieve the target put in front of me.
Oh and btw, I love C++. ;-)
The romantic image of an über-programmer is someone who fires up Emacs, types like a machine gun, and delivers a flawless final product from scratch. A more accurate image would be someone who stares quietly into space for a few minutes and then says “Hmm. I think I’ve seen something like this before.” - John D