File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "File" Watch "File" New topic


ravindrababu annam

Joined: Feb 02, 2006
Posts: 3
Plz., could any body tell me how internally it is accepting the file name
when i am creating a object for

File f=new File("Hello.txt");
as Hello.txt is a String how it is accepting as a file name

need of detail information
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

Perhaps you could ask your question a different way; how else would a file name be represented?

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: File
It's not a secret anymore!