Mahitha Rajendra PrasadFinalize and HashMap in Java CollectionsGarbage Collector acts on an object unused in java using finalize() method. If an object is null then the garbage collector will call the…Oct 27, 2022Oct 27, 2022
Mahitha Rajendra PrasadFailFast and FailSafe Iterators in Java Collection FrameworkFailFast:Oct 26, 2022Oct 26, 2022
Mahitha Rajendra PrasadInternal Data Structure of TreeSet in Java CollectionsTreeSet uses a Balanced binary search tree data structure. Order of insertion is not maintained. The output will be in ascending sorted…Oct 25, 2022Oct 25, 2022
Mahitha Rajendra PrasadInternal Data Structure of Priority Queue in Java CollectionsPriority Queue uses a min-heap Data Structure.Oct 24, 2022Oct 24, 2022
Mahitha Rajendra PrasadCollection Class DifferencesThese are the main differences between the widely used collection classes. Creating an object of collection classes, adding values…Oct 19, 2022Oct 19, 2022
Mahitha Rajendra PrasadJava Collection Framework/APIThe collection is an interface in java that contains various classes and interfaces that has pre-built methods to perform a certain set of…Oct 14, 2022Oct 14, 2022
Mahitha Rajendra PrasadInterthread Communication in JavaConsider first thread must complete the job first so that the second thread can do its job by getting the result from the first thread. It…Oct 13, 2022Oct 13, 2022
Mahitha Rajendra PrasadVarargsVarargs are nothing but variable length arguments.Oct 13, 2022Oct 13, 2022
Mahitha Rajendra PrasadAbstract Keyword in JavaAn abstract keyword can be used forOct 6, 2022Oct 6, 2022