Pergunta de entrevista da empresa RedMane Technology

Technical Questions: 1. Three pillars of OOP with explanation of each 2. Final Keyword in Java 3. Abstract Class & Interface difference 4. JSP & Servlets difference 5. What is meant by immutability in Java? 6. Multi-threading - Sleep vs Yield? 7. What is a design pattern and name some. Explain Singleton Design Pattern? 8. protected keyword in access modifiers 9. Continue vs break statement 10. Describe MVC? 11. StringBuffer vs StringBuilder? 12. One logic/algo question: Inserting an element at proper position in a sorted array. They will focus on the very basic logic design like loops, function and their arguments.

Respostas da entrevista

Sigiloso

1 de jul. de 2015

You said that every one who is interviewed by CEO gets offer then how come you haven't received offer?!!

Sigiloso

4 de nov. de 2015

I got the offer.

Sigiloso

25 de mar. de 2015

Algo Approach: Use Binary Search to find the location where the element is to be inserted and store in a variable index. Call a function insert(a,index,newVal) where a is the sorted array. Run a for loop until index and copy elements into a new array. newArray[index] = newVal and continue copying elements from the given array into the new Array.

3