Java – How to convert Path to File ?

Here we will see how to convert Path to File in java. How to convert Path to File? The Java