Garbage Collector in Java

Java is capable of automatically releasing the unreferenced memory. This is achieved when a object is unused. To make a object unused make the reference variable pointing to that object as null pointer. Lets see an Example below, public void TestMethod() { String s = new String(“Welcome to CodeParent”); System.out.println(s); s = null; } Other options in java you can use System.gc() and Runtime.gc() methods, if you call these methods explicitly, the JVM makes efforts towards recycling the unused objects, but there is no guarantee…

Continue reading »

Fitbit Charge 4 | Wrist-Worn Gadget | Fitness Assist | Did you know?

Fitbit Charge 4 is a great companion for fitness freaks. It has real-time tracking of numerous day to day activities. It’s a comfortable wrist-worn gadget that has notification alerts, Bluetooth sync, step count, calories burnt count, heart rate monitor, sleep pattern and much more. Vast number of features just makes it more personalized to you about your own diet plans and to lead a healthy lifestyle. Goal based plans also can be set with Fitbit Charge 2 and its predecessor Fitbit Charge HR and the…

Continue reading »

Samsung Gear Fit2 – Smart Watch or Fitness Tracker?

Samsung Gear Fit2 seems not to fit into any category that is the best part of it. It is neither a smart watch nor a fitness tracker. It has features of both Gear Fit and Gear S2 and thus emerging as a beautiful fusion between the two categories. One best part is that the price is low compared to rivals such as Microsoft Band 2, Garmin Vivosmart HR, Fitbit Charge 2 and TomTom Touch. Corona virus put a temporarily stop to the production of this…

Continue reading »