In my previous example I have explained how to check if your JVM support the charset used by your application. Java IO package defines java.io.UnsupportedEncodingException as a checked exception for catching it if programmers want to use the charset operation. If the JVM not supports the charset, then you will get the java.io.UnsupportedEncodingException thrown from your application. …
Java System
How To Get Supported CharSet From JVM
If you want to view the web page or anything in your system, there must be chartset to support the one used in the web page or files. Most of the web pages would work because the most common charset is English which is by default supported by all the platforms. If you are viewing …
System.gc Invocation For Garbage Collection
Garbage collection is the process of reclaiming the used memory which is no more reference objects in the application. Java Virtual Machine (JVM) runs the background thread for monitoring the object references and runs periodically to claim the memory. This thread runs on the low priority since the performance of JVM will be impacted while running …