100 Spring Interview Questions and Answers (part 1)

1.What is Spring framework? Spring is development framework for Java programming. It is an open source development framework for Enterprise Java. The core features of Spring Framework can be used in developing a Java Enterprise application. It has many extensions and jars for developing web applications on top of Java EE platform. With Spring we … Read more100 Spring Interview Questions and Answers (part 1)

50 Java Design Pattern Interview Questions for experienced

1. When will you use Strategy Design Pattern in Java? Strategy pattern is very useful for implementing a family of algorithms. It is a behavioral design pattern. With Strategy pattern we can select the algorithm at runtime. We can use it to select the sorting strategy for data. We can use it to save files … Read more50 Java Design Pattern Interview Questions for experienced

Top 50 JSP Interview Questions and Answers

1. What are the implicit objects in JSP? JSP has following implicit objects: 1. Request 2. Response 3. Application 4. Exception 5. Page 6. Config 7. Session 2.How will you extend JSP code? We can extend JSP code by using Tag libraries and Custom actions. 3. How will you handle runtime exceptions in JSP? We … Read moreTop 50 JSP Interview Questions and Answers

100 Java Tricky Interview Questions and Answers (Part 2)

51. Is it ok to use random numbers in the implementation of hashcode() method in Java? No. The hashcode of an object should be always same. If you use random number in hashcode() method, then you may get a different value of hashcode for same object. This will break the hashcode contract. 52. Between two … Read more100 Java Tricky Interview Questions and Answers (Part 2)

100 Java Tricky Interview Questions and Answers (Part 1)

1. Is there any difference between a = a + b and a += b expressions? When we add two integral variables e.g. variables of type byte, short, or int in Java, then they are first promoted to int type, and then addition happens. The += operator implicitly casts the result of addition into the … Read more100 Java Tricky Interview Questions and Answers (Part 1)

Please share it if you found this useful
Hide Buttons