Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

B&S

 
GD Deepz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got thr B&S. This method provided by SUN. How do I use it? Is this method a client call or AdatAbase loading method call. I am able to read all records in, schema and so forth but this method serves no useful purpose. I am spending a lot of time trying to integrating the methods given my Sun

public String[] readRecord(long recNo) throws RecordNotFoundException {
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12056
232
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi GD,

Your clients call the methods of the Data class - either directly or indirectly.

Therefore, in order for your client to read an individual record, they must call this method. They cannot get access to the data any other way.

Regards, Andrew
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!