By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,581 Members | 1,975 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,581 IT Pros & Developers. It's quick & easy.

Interview Question: Why Java

P: 1
After attending several interviews a recurring question I've seen is "Why Java". It seems a fair question at first but if the interview is for a Java role why do you need to justify it's use? The Last interview said they use Java, Perl, JavaScript and soon to use Python. The asked why Java and seemed to imply i was inflexible as i prefer Java. Not sure if i'm reading the situation wrong but seem to feel Java isn't a good choice even if its one of the main languages.

I use Java for personal preference and also because i've had bad experiences with loosely typed scripting languages. Not sure if this is good enough reason to choose Java.
1 Week Ago #1
Share this Question
Share on Google+
2 Replies

P: 147
If you understand Java more than just the syntax and know what/how things work behind the scenes, I don't think there would be any difficulty answering the question and putting forward the points. Of course every language has its own characteristics, so does Java and that's why it is still among the popular ones.
1 Week Ago #2

Expert Mod 5K+
P: 5,353
well - you answered the question for yourself already. it might be a good enough reason for yourself but in many cases not in the context of the question itself. like it was already mentioned each programming language has its own characteristics - thus some are more suited for some problems then others.

If i for myself ask such a question in an interview then i usually try to evaluate the mindset of the applicant. Instead of wanting to hear specific reasons as of why to use something specific - i'd rather would like to hear that a programming language is just a tool to solve a problem. You can hit on a nail with a measuring tape but its better to use a hammer to hit it in unless you want to bend the nail only - then it might be needed to even use more then 1 tool only like a hammer and a bench vice simultaneously. just because you like the measuring tape more wont make it the right tool for that specific job - while at the same time you cant, at least you shouldn't, use a hammer to measure something. you see the point here - you can measure in hammer-lengths of course - but its not the ideal solution.

on the other hand the best tool for nailing might still not be a hammer but a nailgun. it might be that the nailgun is not affordable or available right away. In that case the hammer can be used as it is a proven and reliable tool for the job still and everyone is usually able to use a hammer.

So seen it is not the best choice to have only 1 tool in your arsenal since it makes you somehow a bit tied to some problems that can be solved with that. Today there is a lot of change all around us and you never know whether the one tool you always use will be sufficient for tomorrows problems.
1 Week Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.