• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: about filename

 
Kero Gu
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The database access class must be named as Data.java.
But the demo code names the interface as DB.
Does it mean I should change the interface name to Data and name the file as Data.java??
Thank you very much.
[ February 06, 2004: Message edited by: Kero Gu ]
 
Mark Smyth
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are gonna kick yourself now but...
public class Data implements DBMain{
}
 
Kero Gu
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much.
I've kicked myself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic