• Post Reply Bookmark Topic Watch Topic
  • New Topic

File  RSS feed

 
ravindrababu annam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you could ask your question a different way; how else would a file name be represented?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!