JSTL stands for JavaServer Pages Standard Tag Library. In JSTL, we have a collection of JSP tags that can be...
At times we want to create a UI framework with custom tags. In such a scenario, taglib is a very good feature...
We can use import tag to import a Java file in JSP code. Once a file is imported, it can be used by JSP code...
We use jsp:useBean to invoke the methods of a Java Bean class. The Java Bean class has some data...
A JSP object, implicit or explicit, can have one of the following scopes...
The Thread-safe classes in Java Collections framework are...
Main differences between Collection and Collections are...
Main differences between a List and a Set are...
Main differences between Comparable and Comparator are...
The equals() method in Object class is used to check whether two objects are same or not. If we want a custom implementation we can override this method...
Object class in Java has hashCode() method. This method returns a hash code value, which is an integer...
Iterator and ListIterator are two interfaces in Java to traverse data structures. The differences between these two are...
Both Iterator and Enumeration are interfaces in Java to access Data Structures. The main differences between these are...
Main differences between ArrayList and LinkedList data structures are...
The main difference between a HashSet and a HashMap are...
The Dictionary class in Java is used to store key-value pairs. Any non-null object can be used for key or value. But we cannot insert a null key or null object in Dictionary...
Main differences between a Set and a Map in Java are...
A Properties file in Java is a list of key-value pairs that can be parsed by java.util.Properties class...
CAS is also known a Compare-And-Swap operation. In a CAS operation, the processor provides a separate instruction that can...
In Java, we use these methods to pause currently running thread. There is a simple difference between these...