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 »

.NET Framework to .NET Core | Why | How | Tutorial

.NET Core is the future. For developers who want to know why and how they can migrate .NET Framework to .NET Core and what’s buzzing in .NET Core space, you are at the right place. In this post we could see, why do you need to port to .NET Core or stay with .NET Framework? Major components of both framework, when to use .NET Core? Why at some points you may not use .NET Core? Traditionally .NET Framework ran only on Windows devices. The Mono…

Continue reading »

Reading Comprehension | Grade 5 | Free Worksheet – Part 2

Read the following passage and  answer the questions that follow: Where does chocolate come from? Believe it or not, it grows on trees. Not as a sweet chocolate candy bar wrapped in a foil, but as a cocoa bean. Cocoa beans grow on a cacao tree, found mostly in topical areas such as Central Africa. The fruits of these trees are called pods, which are long and hard. Inside the pods, a soft, white pulp surrounds about thirty seeds. These seeds are what we called…

Continue reading »