image

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
1460 downloads
Buy Full PDF ₹250
3rd Edition
Updated On : Thursday, December 3, 2015 6:46:17 PM IST Total Page Hits 3733

Core Java Topics

What does volatile keyword do in a multi-threading environment 14.Mar.2016 09:21 AM

volatile keyword helps programmers write thread safe program


How and when should we create a custom checked and unchecked exception in Java? 28.Feb.2016 23:04 PM

Checked Exceptions Represents exceptional scenario which if occurred, must dealt with in some way. example is IOException, FileNotFoundException.


What are left shift <<, right shift >> and Unsigned right shift >>> operator in Java? How are these useful? 03.Feb.2016 18:53 PM

Bitwise left and right shift operations are used to move digits, to the left or right, considering sign or not


How will you partition a Big Array into smaller buckets each with size m 01.Feb.2016 20:00 PM

How will you partition a Big Array into smaller buckets each with size m


What is AtomicInteger class and how it's functioning is different from using a volatile or synchronized? 01.Feb.2016 15:15 PM

AtomicInteger uses combination of volatile & CAS for thread-safe implementation of Integer Counter. It is highly usable class in a high throughput non-blocking, concurrent environment.


What is difference between JVM, JDK and JRE? 20.Jan.2016 21:55 PM

Java Virtual Machine is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed.


Is it safe to iterate over an ArrayList and remove its elements at the same time? When do we get ConcurrentModificationException & hidden Iterator? 02.Feb.2016 13:06 PM

Iterator returned by the ArrayList (and many other collection types) is fail-fast. If the list is structurally modified at anytime after the iterator is created, in any way except through the Iterator's own remove() method, the iterator will throw ConcurrentModificationException


What is difference between Callable and Runnable Interface? 29.Dec.2015 09:30 AM

Callable interface is similar to Runnable, in that both are designed for classes whose instances are potentially executed by another thread. A Runnable, however, does not return a result and cannot throw a checked exception.


What is Double Checked Locking Problem in Multi-Threading? 02.Feb.2016 13:38 PM

The double-checked locking idiom tries to improve performance by avoiding synchronization over the common code path after the helper is allocated.


Is it possible to make an Array volatile in Java for multi-threading purpose ? 27.Dec.2015 22:09 PM

Yes, its feasible to make an array volatile in Java but only the reference which is pointing to an array will be volatile, not the whole array.