clone() method is defined in Object class. Cloneable is a marker interface that doesn't contain any method..
In configuration xml, we can specify the scope of bean in its definition. This is used by container...
Java 8 comes with a new command line tool jdeps that can help in analyzing the package-level and class-level dependencies...
StringBuilder was introduced in Java 5. The main difference between both of them is that StringBuffer methods e.g. length()...
Unicode characters have much larger number of characters in the specification...
AOP module is also known as Aspect Oriented Programming module...
In JDK there are many places where Observer design pattern is used. Some of these are..
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)...