RBS Java Interview Questions

Carvia Tech | May 18, 2019 | 1 min read | 265 views | algorithm-datastructures


Written Test Java Questions

  1. What is the strategy to handle ConcurrentModificationException in your Java program ?

  2. What will be behavior of a Java Program where infinite recursion takes place with limited Stack memory ? Does the program complete or Stackoverflow exception is thrown ?

  3. Comparable vs Comparator ? when should I choose one over the another ?

  4. How will you remove duplicate records from a database table ? Will group by clause help ?

Core Java Interview Questions

  1. How does serialization takes place in Java ? What is purpose of externalizable interface ? What are transient variables ?

  2. Why most of methods in Collections class declared as static ?

  3. What is difference between overloading and overriding ? What is hiding of members and methods - both static and instance one ?

  4. What is ThreadLocal class used for ?

  5. What is purpose of Classloader provided by Java ? What is effect of multiple classloaders on Singleton Class ?

  6. NoClassDefFoundError vs ClassNotFoundException ?

  7. What is proxy design pattern ? What is it’s practical usage ?

Design Problems

  1. How will you design a caching implementation where items in cache needs to be expired (deleted from memory) after age of 5 minutes irrespective of the access timing ?

  2. How will you design your own custom thread pool in Java ? Don’t use the One provided by JDK.

  3. What do you understand by Producer Consumer Problem ?


Top articles in this category:
  1. Morgan Stanley Java Interview Questions
  2. Sapient Global Market Java Interview Questions and Coding Exercise
  3. Citibank Java developer interview questions
  4. Top 50 Multi-threading Java Interview Questions for Investment Bank
  5. UBS Top 10 Java Interview Questions
  6. BlackRock Top Java Interview Questions: Investment Banking Domain
  7. Top 20 Java Concurrency Interview Questions and Answers



Find more on this topic:
Java Interviews image
Java Interviews

Interview - Product Companies, eCommerce Companies, Investment Banking, Healthcare Industry, Service Companies and Startups.

Last updated 1 month ago


Recommended books for interview preparation:

This website uses cookies to ensure you get the best experience on our website. more info