This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi I have no idea where i can put this query.I know its basic java question but i want immidiate reply so i can put this query here. HOW TO CREATE EMPTY FOLDER USING JAVA. Thanx. sanjay
Eat JAVA, Drink JAVA, Sleep Java
Joined: Nov 07, 2000
Im sorry for this .But im getting the answer import java.io.*; String pathname = "c/temp/Foldername"; File f = new File(pathname); f.mkdir(); This will create a folder named given as Foldername. Thanx sanjay