• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about Data class

 
Chris Chang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all
Could I modify the method definition of Data class that provide in original ? like


or define antoher method to do so .
Tks for your suggestion.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While you might not see it, it is actually easier to write the assignment if you don't make changes like that. the DataInfo[] gives you everything that you will need.
Mark
 
Chris Chang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tks for reply, but Data class in my assignemtn doesn't provide such a method to return DataInfo[] object.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The find method? the one that you posted above. And also the getRecord method returns DataInfo objects.
Mark
[ January 23, 2003: Message edited by: Mark Spritzler ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic