Here we go:
QUESTIONS:
1. You need to insert huge amount of objects and randomly delete them one by one. Which Collection data structure is best pet?
2. What goes wrong if the HashMap key has same hashCode value?
3. If hashCode() method is ...
Many people feel that Threads and Collection APIs are somewhat complex areas in Java. At least, this is true when you go for Java interviews. If the interviewer wants to screw you more, then he may ask bunch of questions from Threads and Collections APIs. I came up with some ...
And, I’m back with some performance related interview questions. The questions are open-type and arguable.
Here we go.
Assume a multiplication operation in java takes 10 milliseconds. So, what is the running time of the following for() loop?
int k = 10;
for(int i=0; i<100; i++)
{
k = 20 * 100; // this takes ...
Many people have requested to post JSP Servlets scenario based interview questions. Yet, even I too have been thinking of posting J2EE related interview questions. So, let’s first start with JSP and Servlets (scenario based) interview questions.
This time, I am giving the answers But, I am pretty lazy to ...
Patterns are so important, if you are giving a software developer interview for any OO (Object Oriented) language (Java, C#, C++) and technology (.Net, J2EE). Patterns give solutions for frequently recurring design problems, and they are language neutral.
The book, Design Patterns: Elements of Reusable Object-Oriented Software, (is ...