This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Working of second constructor of Data Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Working of second constructor of Data Class" Watch "Working of second constructor of Data Class" New topic
Author

Working of second constructor of Data Class

Anurag Mishra
Ranch Hand

Joined: Sep 27, 2001
Posts: 133
I could not able to understand the working of this constructor
of Data class.According to me i think so that this constructor
will be used as to create a copy of the database file called "db.db".
I could'nt able to get the exact use of this constructor.
Plz help me to find out the working of this constructor.
public Data(String dbname, FieldInfo[] fields) throws IOException {
.....
.....
....
......
}
Anurag Mishra
Raju, Gentle
Greenhorn

Joined: Sep 06, 2001
Posts: 28
I have read some where that in good olden day the assignment required usage of this constructor. I guess the present assignment can be done with out the usae of this. So I would not bother about it and I would leave as it is
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working of second constructor of Data Class