If you have any question you can ask below or enter what you are looking for!
JVM Architecture: Overview of JVM and JVM Architecture Class loader Subsystem The class loader subsystem is used for loading/reading the .class file and saving the bytecode in the JVM method area. ClassLoader is responsible for loading class files from file system, network or any other source. There are three default . . . Read more
What is Arrays class in Java? Arrays in Java Arrays class is a utility class to define several utility methods for array object. We can sort primitive array only based on default natural sorting order whereas we can sort object array either based on default natural sorting order or based . . . Read more
What is a Collection class in Java? Collections class defines several utility methods for collection objects like sorting, searching, reversing, etc.Â Sorting elements of ListÂ Collections class defines the following two methods for sorting. 1 Public static void sort(List l) To sort based on default natural sorting order In this . . . Read more
What is Hashtable in Java with Example? What is Hashtable in Java with Example? The underlying data-structure for Hashtable is Hashtable. Insertion order is not preserved and it is based onÂ Hashcode of keys. Duplicate keys are not allowed and values can be duplicated. Heterogeneous objects are allowed for both keys . . . Read more
What is TreeMap in Java with example? The underlying data-structure isÂ Red-black-Tree. Insertion order is not preserved and it is based on some sorting order of keys. Duplicate key is not allowed but values can be duplicated. If we are depending on default natural sorting order then keys should be . . . Read more