Hello Everybody,
I have in my assignment DB interface:
I have read several postings here in this forum where clearly there is a need to distinguish between the records matching
the criteria
String[] in the find() interface method and in the GUI where:
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
I just want to double check and clarify my assumptions with the find() interface method.
Is it correct to assume if we have the argument:
to my find() method in my Data class implementing the DB interface, should it return an int[] of record numbers where each record
will have "Sheraton" as Hotel name
and "New York" as the Hotel Location
and "4" as the maximum occupancy of the room?
Or should it return instead an int[] of record numbers where you have all the "Sheraton" hotel rooms, all the "New York" hotel rooms and all the rooms with "4" as the maximum occupancy?
Thanks in advance for your help,
Carlos.