Java Get Memory Usage
If you have prior worked on C or C++ language, you must be aware of that unlike c++, java don't tell that how much memory is occupied by an object defined in the program.
Java Get Host Name
In this Example you will learn how to get host name in Java. Go through the below given code to understand how it works and gets the host name of a computer or an IP address using Java application language.
Exceptional Example in Java
When an error occurs in a method, Java creates an object of the Exception method. On making an object of exception method, java send it to the program by throwing the object of exception method.