Given a class which has a list and a getter for list. How will you ensure encapsulation?
Java Web Developer Interview Questions
86 java web developer interview questions shared by candidates
Can you work long hours if a project demanded it, including holidays/weekend?
These are a few: 1. Although an object could be identified by its memory location, why do java classes still implement the hashCode method? 2. Describe thread creation in Java. 3. What are the differences between an ArrayList and a LinkedList? 4. Describe the difference between Inner_Join and Left_Join 5. Are List<?> and List<Object> identical? 6. Are you familiar with Hibernate? 7. When in the application process does dependency injection take place? 8. Name the most useful benefit of dependency injection? 9. Modify the singleton service class I wrote for the triangle puzzle so that it suits a multi-threaded environment using lazy loading. 10. Demonstrate the addition of a method to a Javascript object through its prototype.
What ever we have mentioned in our CV, about your roles and responsibilities of current project.
Brain teasers and logic, followed by programming knowledge.
what is abstract classes and difference between abstract and interfaces?
None really. A lot of their questions were about technologies from 10+ years ago (and thus hard to remember) but nothing really difficult.
Current project details your role & contribution
Why no pointers in Java
What is dispatcher servlet? Explain the complete workflow for the same.
Viewing 21 - 30 interview questions