• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Working of second constructor of Data Class

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic