Rajesh DixitWhy Can’t a Java Thread Be Restarted?In Java, a Thread cannot be restarted once it has completed its execution.Aug 8Aug 8
Rajesh DixitDifference between transient and volatile keywordstransient keyword is used along with instance variables to exclude them from serialization process. If a field is transient its value will…Dec 11, 2022Dec 11, 2022
Rajesh DixitDesign Principles | Interface-segregation principleWhat is the point in selling a horse saddle for one who does not own a horse?Dec 11, 2022Dec 11, 2022
Rajesh DixitS.O.L.I.D principlesS.O.L.I.D principles help us to create a system that is easy to maintain and extend over time. It is the acronym for five basic principles…Dec 11, 2022Dec 11, 2022
Rajesh DixitJava 8 | Calculate days between two datesWe have already seen to calculate the number of Days between two dates prior to Java 8.Feb 23, 2020Feb 23, 2020
Rajesh DixitCalculate the number of days between two datesIn this tutorial, we will see how to calculate the number of days between two dates. This solution for the Java 7 version or below.Feb 23, 2020Feb 23, 2020
Rajesh DixitMost Frequent Subtree SumGiven the root of a tree, you are asked to find the most frequent subtree sum. The subtree sum of a node is defined as the sum of all the…Feb 21, 2020Feb 21, 2020