Cracking Core Java Interviews 3rd Edition

A Comprehensive Guide to Crack Core Java Interviews in Investment Banks, HealthCare IT & Startups. It covers Core Java, Algorithms, Data Structures, Concurrency, Hibernate and Spring MVC.

Specifically for investment banking domain, healthcare IT and product companies i.e. UBS, RBS, Blackrock, Morgan Stanley, JP Morgan, Nomura, Barclays, Citibank, Markit, Bank of America, Goldman Sachs and other companies i.e. Global Logic, Adobe, hCentive, Edifecs, Expedia, Infosys, TCS, Sapient, Wipro, HCL etc.
Free Chapters PDF
Buy Full PDF ₹250
3rd Edition
Last Updated : Thursday, June 23, 2016 7:45:43 AM IST Total Page Hits 4630

Synechron Java Interview Questions

General Questoins

  1. What is Serialization?
  2. What is shallow and deep cloning?
  3. How to make a Java class immutable? Let’s say that the class returns a Date and List Object, what changes now will be required to make this class immutable? Are there any tools/plugins that can help you in getting errors/warning related to immutability issues?
  4. What is a Singleton? where did you use it lastly? What are pitfalls associated with it?
  5. Write down a multi-threading code that will print even and odd numbers in sequence? explain how do you coordinate among these two threads?
  6. What is static and dynamic polymorphism?
  7. What is Selection Sort Algorithm?
  8. Generics difference between E and T?
  9. Explain different Memory Types in Java? (Heap, Stack and Method Area)


  1. What is difference between HashSet and TreeSet? When should I choose one over the other?
  2. What is difference between Hashmap and Treemap?
  3. What is difference between Comparator and Comparable?

Design Problems

  1. Parking Lot Vehicle Problem.

Database Related Question

  1. There is a backup table B that has almost replica of Table A, How will you find the unique data and remove redundant data?
  2. SQL level joins?
  3. Difference between ON and WHERE clause in SQL table join?


  1. Explain different Spring session scopes? (singleton, prototype, etc)

Similar Articles

1. Synechron Java Interview Questions

Collection of Java Interview Questions (Core Java, Spring, database and other concepts) for Synechron in banking and finance domain

2. Design Metro Smart Card System for Delhi using Java

Design a program in Java for Metro Smart Card System in Delhi. Evaluation criteria will be based on code completeness, code structure and quality, modularity, usage of OO principles, choice of data structure and unit tests.

3. What does volatile keyword do in a multi-threading environment

volatile keyword helps programmers write thread safe program