Java Illegal State Exception
The java. lang package include several classes and exceptional classes. This exceptional classes are the subclasses of run-time exception, that is used further in exception handling.
Java binary tree insert
The Binary Tree insert is specialized use of binary tree. The concept lies behind is that all the element value less than the root node value insert left to the root node and the element value greater than the root node insert right to this root node.
Java get File Type
This section illustrates you how to get the file type. In the given example, we have create an instance of the class File and passed the file 'Hello.txt' to the constructor of this class.