Interview Questions

Interview Questions and Answers on Maven

17 Aug , 2016  

Q1.  What is the best practice configuration usage for files – pom.xml or settings.xml ? Ans. The best practice guideline between setting...

Interview Questions

Interview Questions and Answers on JSON (JavaScript Object Notation)

17 Aug , 2016  

Q1.  What is JSON ? Ans. JSON is “JavaScript Object Notation”, primarily used for client-server or server-server communication. Its...

CORE JAVA,Interview Questions

Interview Questions – Design Pattern – Singleton

17 Aug , 2016  

Q1. What is Singleton ? Ans. It’s a Design Pattern. Q2. What is a Singleton Class ? Ans. Class using which only one object can be created....

CORE JAVA,Interview Questions

Frequently Asked Interview Questions and Answers

17 Aug , 2016  

Q1.  Explain multithreading in Java ? Ans. 1. Multithreading provides better interaction with the user by distribution of task 2. Threads in Ja...

CORE JAVA,Interview Questions

Interview Questions and Answers on PermGen

17 Aug , 2016  

Q1.  What is PermGen or Permanent Generation ?   Ans. The memory pool containing all the reflective data of the java virtual machine itsel...

CORE JAVA,Interview Questions

Interview Questions and Answers on “Byte Code”

17 Aug , 2016  

Q1.  What is Java bytecode ? Ans. “Java bytecode” is the usual name for the machine language of the Java Virtual Machine. Java programs are...

Collections Framework,CORE JAVA,Interview,Interview Questions

If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?

17 Aug , 2016  

Ans. ArrayList are implemented in memory as arrays and hence allows fast retrieval through indices but are costly if new elements are to be inse...

CORE JAVA,Garbage Collector In Java,Interview,Interview Questions

Interview Questions and Answers on Garbage Collection

17 Aug , 2016  

Q1.  Describe, in general, how java’s garbage collector works ? Ans. The Java runtime environment deletes objects when it determines that...

CORE JAVA,Interview,Interview Questions

Interview Questions and Answers on HashCode

17 Aug , 2016  

Q1.  There are two objects a and b with same hashcode. I am inserting these two objects inside a hashmap. hMap.put(a,a); hMap.put(b,b); where a...

CORE JAVA,Interview,Interview Questions

Java – Interview questions and Answers on Constructors

17 Aug , 2016  

Does Constructor creates the object ? Ans. New operator in Java creates objects. Constructor is the later step in object creation. Constructor&#...