Monday, February 23, 2015

RBS Java Interview Questions

RBS Java Interview Questions

Written Test Java Questions

  • What is the strategy to handle ConcurrentModificationException in your Java program?
  • 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?
  • Comparable vs Comparator? when should I choose one over the another?
  • How will you remove duplicate records from a database table? Will group by clause help?

Core Java Interview Questions

  • How does serialization takes place in Java? What is purpose of externalizable interface? What are transient variables?
  • Why most of methods in Collections class declared as static?
  • What is difference between overloading and overriding? What is hiding of members and methods - both static and instance one?
  • What is ThreadLocal class used for?
  • What is purpose of Classloader provided by Java? What is effect of multiple classloaders on Singleton Class?
  • NoClassDefFoundError vs ClassNotFoundException?
  • What is proxy design pattern? What is it’s practical usage?

Design Problems

1 comment:

Your comment will be published after review from moderator