Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

C++ and Java

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I just had an interview. One of questions they asked was: In software development, why do you choose C++ or Java? I know the difference between two languages, but I need the answers more related to the company environment.
Posts: 6049
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all comes down to the business needs.
For example, you know Java is platform independent and C++ is not. If its important for the application to run on non-Windows OS, then that's one reason to consider Java.
There are also external factors. For example, if the company has lots of experience, tools, and legacy code (with which you might want to integrate in the future), all in C++, then that pushes towards C++.
Think about the advantages of both languages an in what situations you would need to leverage that advantage.
He's my best friend. Not yours. Mine. You can have this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic