Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Yet Another Set of Real World Java Interview Questions

DZone's Guide to

Yet Another Set of Real World Java Interview Questions

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

Industry : Insurance
Position : Java Developer
Type of Screening : Telephone
Date : 10/24/2013

This was a telephonic interview and the candidate was asked the following questions -

[Interviewer mentioned this was a quick 15 min rapid fire screening and if the candidate can answer them he would be moved to the second round]

  1. Can you explain briefly about your Java experience?
  2. What role do you play in the team?
  3. Can you explain the architecture of your current project? And what technologies stack are you using?
  4. Is project based on a waterfall model or agile model?
  5. Of all the projects your worked so far, what project are you particularly proud about and why?

[After these basic questions where asked, interviewer mentioned he would like to ask few Java and SQL questions]

  1. What is the difference between StringBuffer and StringBuilder ?
  2. How can you convert a String of comma separated values that were imported from a CSV file into an Array ?
  3. Now how can you remove the duplicates from this Array ?
  4. After removing the duplicates, how can you convert the Array of Strings back to a single String without commas ?
  5. After removing the duplicates, how can you convert the Array of Strings back to a single String sepeated by dashes ?
  6. Difference between SOAP and REST WebServices
  7. What is an index with respect to database?
  8. Why should we use indexing on database?
  9. When will the indexing have inferior performance?
  10. I have a customer table with name, id, state and salary. How can you find sum of all the salaries of all the customers per state?
  11. How can you find sum of all the salaries of all the customers per state where each of the individual salary is greater than 60K?
  12. What is caching? What should be your consideration for designing a caching mechanism?
  13. If you were to implement your own caching mechanism what would some of the API calls look like?
  14. Do you have any prior experience working in JBOSS Drools? or any workflow engines?
  15. Do you have any questions for us?

Answers for the above questions are left to the readers as exercise.

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:

Published at DZone with permission of Jagadeesh Motamarri, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}