title: How can we create a folder and file using RandomAccessFile in a single statement?
body: <p>When we write <code>RandomAccessFile r =new RandomAccessFile("file.txt","rw");</code></p>
  
  <p>how can I create this file in a folder named home on the desktop..
  Again it should be a single statement!</p>