In Observer design pattern, there is a Subject that maintains the list of Observers that are waiting for any update...
We can write output in JSP in such a way that it becomes a comment in HTML code. This comment will not be visible in the web browser...
A HashSet is Implemented using a HashTable. Therefore, its elements are stored in a random order. The add(), remove()...
Main differences between Internal and External Iterator are...
The shutdown hook is a thread that is invoked implicitly by JVM just before the shut down...
A JSP has following lifecycle methods...
We can use SingleThreadModel Interface to implement a thread safe JSP page...
A Singleton class in Java has maximum one instance of the class present in JVM, all the time. The constructor...
The native keyword is used for applying to a method to indicate that the method is...
Some of the uses of Optional in Java..
The main theme of Java 8 is support for functional programming. With increase in Database size and growth of multi-code...
A ConcurrentHashMap can be replaced with Hashtable in Java...
Reflection is often used in Testing, Debugging and in Integrated Development Environment (IDE)...
Interceptor design pattern is used for intercepting a request. Primary use of this pattern is in Security policy implementation...
We can use include directive of JSP to include a Static page in JSP. In this approach, we use translation phase to include...
The steps to take Thread dump of Java process depends on the operating system...
All instance methods in Java are virtual functions by default...
Differences between Abstract class and Interface are..
Integer class is a wrapper for int. If it is not marked final, then any other class can extend...
XMLBeanFactory is one of the most useful implementation of BeanFactory in Spring. This factory loads its beans...