This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Path  RSS feed

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

D:\OCJP7\NIO2\Path\uri.txt

I don't understand how it is working here, real path of uri.txt is D:\OCJP7\NIO2\Path\parent\child\uri.txt

So output should have D:\OCJP7\NIO2\Path\parent\child\uri.txt ?
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
meeta gaur wrote:
So output should have D:\OCJP7\NIO2\Path\parent\child\uri.txt ?


Why do you think that?

In particular, what do you think ".." means? And what do you think, for example, "D:\\OCJP7\\NIO2\\Path\\parent\\child\\..\.." means?
 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeff Verdegan wrote:
meeta gaur wrote:
So output should have D:\OCJP7\NIO2\Path\parent\child\uri.txt ?


Why do you think that?

In particular, what do you think ".." means? And what do you think, for example, "D:\\OCJP7\\NIO2\\Path\\parent\\child\\..\.." means?


Hi
Thanks,i got it late.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!