Java I/O – Check If File Path Absolute or not

In Java File class a member method isAbsolute() returns true if this abstract path name is absolute or returns false otherwise.

Lets take an example to understand the method in a better way. In this example we will construct the file path using File constructor.



Partner Sites

Stuff I use to make videos

Windows notebook –

Apple MacBook Pro –

Desktop -

Microphone –

notebook mouse –

Screen Recording Software – Camtasia