Interview Questions Collections

Object-Orientation Concepts, UML interview Questions

1. What is inheritance?

2. Difference between Composition and Aggregation.

3. Difference: Sequence Diagrams, Collaboration Diagrams.

4. Difference: 'uses', 'extends', 'includes'

5. What shall I go for Package Diagram?

6. What is Polymorphism?

7. Is class an Object? Is object a class?

8. Comment: C++ "includes" behavior and java "imports"

9. What do you mean by "Realization"?

10. What is a Presistent, Transient Object?

11. What is the use of Operator Overloading?

12. Does UML guarantee project success?

13. Difference: Activity Diagram and Sequence Diagram.

14. What is association?

15. How to resolve many to many relationship?

16. How do you represent static members and abstract classes in Class Diagram?

17. Can we use UML for user interface (UI) design?

18. Every object has : state, behavior and identity - explain

19. How to reverse engineer C++ code in UML?

20. What are the tools you used for OOAD?

21. Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?

22. What are the four phases of the Unified Process ?

23. How do you convert uses cases into test cases?

24. Explain Class Diagram in Detail.

25. What are the Design Patterns you know.

26. When do you prefer to use composition than aggregation?

27. UML: IS it a process, method or notation?

28. Does a concept HAVE to become a class in Design?

29. What are the good practices to use while designing for reuse?

30. Can you think of some nice examples where *multiple* actors are associated with a use case ?

31. How to use CRC Cards for Class Design?

Java Interview Questions

1. Meaning - Abstract classes, abstract methods

2. Difference - Java,C++

3. Difference between == and equals method

4. Explain Java security model

5. Explain working of Java Virtual Machine (JVM)

6. Difference : Java Beans, Servlets

7. Difference : AWT, Swing

8. Disadvantages of Java

9. What is BYTE Code ?

10. What gives java it's "write once and run anywhere" nature?

11. Does Java have "goto"?

12. What is the meaning of "final" keyword?

13. Can I create final executable from Java?

14. Explain Garbage collection mechanism in Java

15. Why Java is not 100% pure object oriented language?

16. What are interfaces? or How to support multiple inhertance in Java?

17. How to use C++ code in Java Program?

18. Difference between "APPLET" and "APPLICATION"

Here is a listing of questions you can expect to face while taking an interview for a Java developer's position. (Answers)

1. What are the four corner stones of OOP ?

2. What do you understand by private, protected and public ?

3. Difference between a Class and an Object ?

4. What is Downcasting ?

5. What is Polymorphism ? What kinds ?

6. What is the difference between method overriding and overloading ?

7. What is the restriction on an Overridden methods’ accessibility ?

8. What is the concept of a Virtual Function ?

9. What is the implication of a Virtual Destructor ? Virtual Constructor ?

10. Can a method be overloaded based on different return type but same argument type ?

11. What is a "stateless" protocol ?

12. What happens to a static var that is defined within a method of a class ?

13. What is constructor chaining and how is it achieved in Java ?

14. How do you define a local inner class ?

15. How many static init can you have ?

16. What is passed by ref and what by value ?

17. How do you ensure size of a primitive data type ?

18. Describe the Garbage Collection process in Java ?


These questions help the hiring authority determine what makes you tick. Answer thoroughly, using organic conversation techniques to determine if the direction of your answer is correct. Remember to stay positive.

What makes you unique?

Tell me about yourself.

What goals have you set for yourself? How are you planning to achieve them?

To what do you owe your present success?

What is your favorite hobby and tell me why?

What motivates you?

What type of work environment appeals to you most?

Are you willing to travel?

Why have you chosen this particular profession?

What do you like most about your current job?

What has been your greatest challenge?

What work experiences have been most valuable to you and why?

Tell me about a situation in which you were under tremendous pressure and how you dealt with it.

Give me an example of a time in your life in which you had to overcome great adversity to get the job done.

Tell me about your most difficult decision and how you went about making it.

Where do you think your interest in this career comes from?

Give me a situation in which you failed, and how you handled it.


These questions will be used to determine how you interact with others, both your team members and users. Show yourself as a team player who can take initiative and drive projects.

Have you ever supervised people?

What is your management style?

How do you interface with users?

How do you handle a customer or user who becomes irate?

What would your management say about you?

In this particular leadership role, what was your greatest challenge?

Describe the project or situation that best demonstrates your management/supervisory skills.

Tell me about a team project of which you are particularly proud and your contribution.

Have you taken/How do you take specifications from users?

Describe a situation where you had to work with someone who was difficult, how did you handle it?

Tell me about a problem you have with one of your work associates.

Which area of technical expertise do you feel is your strongest?

Describe the type of manager you prefer.

What are your team-player qualities? Give examples.

When you take on a project do you like to attack the project in a group or individually?

Tell me about your relationship with your previous boss.

How do you take direction?


These questions will be used to determine not only your background experience and skills, but also your suitability for the discussed position. Don't be bashful. Thoroughly explain your background, experience and skills.

What accomplishments are you most proud of?

What part of the project life cycle have you worked on?

Describe the project or situation that best demonstrates your coding skills.

Describe the project or situation that best demonstrates your analytical abilities.

Give me an example of a problem you solved and the process you used.

Give me an example of an idea that has come to you and what you did with it.

Tell me about a project you initiated.

How have your educational and work experiences prepared you for this position?

What is your most significant accomplishment?


Use these questions to explore why you are the perfect candidate for the vacant spot. Match your strengths to the job requirements, point for point.

Why are you interested in our organization?

Give me an example of the most creative project that you have worked on.

What type of position are you seeking?

What makes you think you can handle this position?

Why should my company be interested in you?

What challenges are you looking for in a position?

What interests you about this job?


Be careful. The only reason to ask these questions is to determine why NOT to hire you. Make your answers as short and bland as possible. Remember not to disparage any past employers, companies or co-workers.

What turns you off at your current employer?

What pisses you off?

What interests you least about your current job?

What types of situations put you under pressure, and how do you deal with pressure?

What industry besides this one are you looking into?

With which other companies are you interviewing?

No comments: