Common Java Interview Preparation Guide
Download PDF

80 Java Questions and Answers:

Table of Contents

Common  Java Job Interview Questions and Answers
Common Java Job Interview Questions and Answers

1 :: When were you most satisfied in your job In Java?

I'm a people person. I was always happiest and most satisfied when I was interacting with community residents, making sure I was able to meet their needs and giving them the best possible comfort in a tough situation. It was my favorite part of the job, and it showed. Part of the reason I'm interested in this job is that I know I'd have even more interaction with the public, on an even more critical level.

2 :: What's the last book you read?

Try to talk about a book related to the industry, for example, if you're applying for a role related to business, cite a business book.

3 :: What type of people do you not work well with?

Be very careful answering this question as most organization employ professionals with an array of personalities and characteristics. You don't want to give the impression that you're going to have problems working with anyone currently employed at the organization. If you through out anything trivial you're going to look like a whiner. Only disloyalty to the organization or lawbreaking should be on your list of personal characteristics of people you can't work with.

4 :: Top 12 Best Brainteaser Interview Questions:

Brainteaser questions In Java have become popular for interviews in recent years, as word has gotten out that top tech companies such as Apple, Google, Microsoft and IBM have used this type of question at one time or another.

Companies like Google aren't using these questions so much any more, but many companies, are, and it may be good to prepare for them In Java. The key to these isn't so much getting the exact answer, as it is showing how you would come up with an answer.

Here's a sample of 12 of the best and most difficult.

1. How many street lights are there in New York City?

2. How many gas stations are there in the United States?

3. How many golf balls can fit in a school bus?

4. How much should you charge to wash all the windows in Seattle?

5. Why are manhole covers round?

6. How many times a day does a clock's hands overlap?

7. How would you test a calculator?

8. Describe the internet to someone who just woke up from a 30-year coma.

9. How much does the Starbucks in Times Square bring in, in annual revenue?

10. You are shrunk to the height of a nickel and thrown into a blender. Your mass is reduced so that your density is the same as usual. The blades start moving in 60 seconds. What do you do?

11. What is the air speed velocity of an unladen swallow? ;)

12. How many golf balls are there in Florida?

5 :: What do you consider ethical spending on an expense account?

It depends on the role - but the better way to answer this is to ask the interviewer what their expectations are with regards to what the role can expense and then simply state that you'll stay within those parameters

6 :: How does your present position differ from past ones?

Describe the difference with regards to responsibilities, culture, team, career opportunity, and the work itself.

7 :: What do you consider to be your greatest strength?

There isn't any right answer. Just make sure to make your response positive and true. A few good examples include: Your ability to solve complex problems, Your ability to work well on a team, Your ability to shine under pressure, Your ability to focus in chaotic situations, Your ability to prioritize and organize, Your ability to cut through the fluff to identify the real issues, Your ability to influence other positively. If your strength relates to the position in question that will be more beneficial - but again be honest, don't create a strength for yourself just because you think it will sound good.

8 :: Why was there a gap in your employment In Java?

If you were unemployed for a period of time, be direct and to the point about what you’ve been up to (and hopefully, that’s a litany of impressive volunteer and other mind-enriching activities, like blogging or taking classes). Then, steer the conversation toward how you will do the job and contribute to the organization: “I decided to take a break at the time, but today I’m ready to contribute to this organization in the following ways.”

9 :: What do you do in your spare time?

If you want to show your fun side, discuss your extracurricular activities. If you want to show your ambition, discuss the work / school projects you do in your spare time.

10 :: What education or training have you had that makes you fit for this profession In Java?

This would be the first question asked in any interview. Therefore, it is important that you give a proper reply to the question regarding your education. You should have all the documents and certificates pertaining to your education and/or training, although time may not allow the interviewer to review all of them.

11 :: What is your typical way of dealing with conflict? Give me an example?

First, find out what the root of the problem is. Second, determine the best steps to remediation with the best possible outcome. Third, take action to put remediation plans in place.

12 :: Why did you leave your last job In Java?

Regardless of why you left your last job make sure to stay positive. Always smile and focus on the positive reason such you were seeking the opportunity to expand your career opportunities, your interest in working with a new firm that provided greater opportunity, you desired to work in a new location, etc. Don't reference previous job problems or differences with management that caused you to leave. If you stay positive, your answer may help you. If you're negative, you will likely decrease your chances of getting the job for which you're interviewing.

13 :: Tell me about a problem that you’ve solved in a unique or unusual way. What was the outcome? Were you happy or satisfied with it?

In this question the interviewer is basically looking for a real life example of how you used creativity to solve a problem.

14 :: Where do you see your career in five years In Java?

I would like to retire from this company. I would like to make a difference in the company whether in the company or any other position or area of the company In Java.

15 :: Think about the changes you have seen and tell me how you handle change?

You can cite personal life changes, work place changes, career changes, technology change, industry change. The key is to discuss how seeing or experiencing that change has helped your development. For example, the recent changes in social media has broadened my horizons and helped me learn new forms of efficient marketing.

16 :: Tell me about a time you failed?

Everyone has failed, so don't play dumb or claim you've never messed up In Java. Think of a time when a work-related situation didn't turn out quite as you had hoped. An interviewer is interested in seeing how you took responsibility for your failure, what you learned from it, and how you would prevent similar failures from happening again.

17 :: Describe what a "lot of work" looks like to you In Java?

Ideally you'd like to state that you can take on a lot of work - this shows your work ethic, but at the same time it's okay to tell them that you value work and life balance.

18 :: Tell me about a time when you had to make a decision without all the information you needed. How did you handle it In Java? Why? Were you happy with the outcome?

In many scenarios, you will not have all the information needed. The key is to make the best possible decision based on what you deem to be a sufficient amount of information.

19 :: What do you see yourself doing within the first 30 days of this job?

Typically the first 30 days are designed for you to learn as much as possible In Java. Work hard to get to know your teammates, how they work together, and how you can make the biggest impact.

20 :: Top 11 Questions to Verify Experience and Credentials In Java:

Sometimes people want a job a little too bad - and they may fudge their credentials and experience a bit.

If you've run into this problem, are worried about it, or have credentials and experience that are absolutely essential, you may need to ask a few verification questions.

If you are a candidate, you should review your resume and make sure you know all the key points, and that nothing has been misconstrued.


1. What grades did you get in college?

2. What were your responsibilities when you worked in job x?

3. How many people were on your team at your last job?

4. What will your previous manager/supervisor say when I ask where you needed to improve?

5. What was your beginning and ending salary at job x?

6. What were your beginning and ending titles at job x?

7. Are you eligible for rehire at job x?

8. What tools are necessary for performing job x?

9. Describe to me how you would perform [x typical job task].

10. What was the focus of your thesis?

11. When did you leave company x?

21 :: How do you evaluate success In Java?

I evaluate success In Java in different ways. At work, it is meeting the goals set by my supervisors and my fellow workers. It is my understanding, from talking to other employees, that the Global Guideline company is recognized for not only rewarding success but giving employees opportunity to grow as well.

22 :: How do you handle confidentiality in your work?

Often, interviewers will ask questions to find out the level of technical knowledge In Java that a candidate has concerning the duties of a care assistant. In a question such as this, there is an opportunity to demonstrate professional knowledge and awareness. The confidentiality of a person’s medical records is an important factor for a care assistant to bear in mind.

23 :: Tell us about a typical day at work. How does it start? What do you do?

At the beginning of each day, I inspect the work site to make sure that it is hazard-free. Once the work site is secured, I verify that all tools and equipment are adequate in supply. As soon as the work orders are delivered, I provide workers with security guidelines and carry out drills. During the workday, it is my duty to monitor workers to ensure that they are working according to the enforced safety policies and that any problems or accidents are quickly addressed.

24 :: What is your biggest weakness In Java?

No one likes to answer this question because it requires a very delicate balance. You simply can’t lie and say you don’t have one; you can’t trick the interviewer by offering up a personal weakness In Java that is really a strength (“Sometimes, I work too much and don’t maintain a work-life balance.”); and you shouldn’t be so honest that you throw yourself under the bus (“I’m not a morning person so I’m working on getting to the office on time.”)

25 :: Explain me about a problem or disagreement you had with previous supervisor?

This question is trap. It is meant to see whether or not you'll speak poorly of an employer. No one wants to hire someone who's going to speak poorly of them down the road. Stay upbeat and positive - and most of all don't say anything negative about a previous employer.

26 :: If you were interviewing someone for this position In Java, what traits would you look for?

This is where the interviewer tries to turn the tables on you. Answer confidently by stating 3 specific traits that are applicable to that job role. For example, a consulting job would likely look for someone who can think outside of the box.

After answering, ask them, "Am I spot on here and if not, what traits would you look for?"

27 :: Describe a time when you had to help a coworker out that did not directly benefit you?

There should be many times where you've assisted others In Java. If you haven't, think of how you would in the future. You can discuss charitable causes, how you mentored someone, and so on.

28 :: What types of situations do you consider "unfixable"?

Most situations are "fixable" - the ones that are not are typically related to business ethics (someone is cheating the company, someone is stealing, etc)

29 :: Describe a time when you've been overwhelmed with work?

Show how you were able to over the "overwhelmed" feeling - by delegating tasks, getting people on your team to help you out, or by prioritizing your work and focusing on the most important issues first In Java.

30 :: What are your thoughts on social media for this role?

Without a doubt, social media is becoming more and more pervasive in our jobs. You should stress that social media is not appropriate for personal use at work. However, if the company embraces social media in certain departments (for example marketing), then you may want to discuss how you could use it for work (as long as it applies to your role).
Java Interview Questions and Answers
80 Java Interview Questions and Answers