• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

about File constructor  RSS feed

Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the purpose of the following constructor of the File class.

public File(String parent,String child){


public File(File Parent,String child){

Java Cowboy
Posts: 16084
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all: When you post a question on JavaRanch, carefully choose one forum.

The question you're asking doesn't have anything to do with the SCJP exam directly. Yesterday you also asked some questions which were not about SCJP in the SCJP forum. The "Java in General (Beginner)" forum is more appropriate for questions like yours. I'll move this question to that forum for you.

Please post in the SCJP forum only if your question is about the SCJP.

About your question: Lookup the documentation of the java.io.File class in the API documentation. You'll have to learn how to use that documentation; you'll need it frequently if you're programming in Java.
You've gotta fight it! Don't give in! Read this tiny ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!