kranthi kumar.chamarthi wrote:As said in previous replies you can't compare two languages just like that. It depends on your requirements. Java is a better option if your enterprise requires web applications and more object oriented applications. C++ will be a better option if you need to interact with hardware more and do more system programming.
It's perfectly possible to compare two languages without requirements. In fact language comparision and language selection are orthogonal activities. The former is based on objective criteria wheras the latter is based on criteria reflecting specific needs in a specific situation. Language selection is based on language comparision.
So what comparision results did you base your selection advice on?