This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Working of second constructor of Data Class

 
Anurag Mishra
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic