Results 1 to 4 of 4
Thread: Very simple problem
- 06-06-2010, 04:12 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 10
- Rep Power
- 0
Very simple problem
Hi there
I have a fairly basic level of Java and I'm working though the SCJP study guide by Bert Bates and Kathy Siera, which is a great book but assumes a level of experience which is beyond mine currently.
As such I'm stuck on the line of code below which appears on it's own:
public Record getRecord(int fileNumber, int recNumber) {}
It makes sense to me as a method declaration except that I can't figure out ther purpose of the second word, Record, and it's not explained in the text.
Would be very grateful for any advice.
Thanks a lot
Andy
-
The method will return an object of the Record class, whatever that is. This method should not compile unless it is made abstract or unless it actually returns a Record object or null.
- 06-06-2010, 04:35 PM #3
Member
- Join Date
- Oct 2009
- Posts
- 10
- Rep Power
- 0
Awesome, thanks!
- 09-17-2010, 06:49 AM #4
Similar Threads
-
Need help with simple problem
By newb_tewb in forum New To JavaReplies: 3Last Post: 04-08-2010, 02:18 AM -
I have a simple problem
By o0oNorao0o in forum JCreatorReplies: 20Last Post: 12-25-2009, 08:32 PM -
simple line problem / for loop problem
By helpisontheway in forum New To JavaReplies: 1Last Post: 11-17-2009, 06:12 AM -
simple GUI problem
By McChill in forum New To JavaReplies: 4Last Post: 04-03-2009, 03:13 AM -
Simple IO problem
By aamp in forum New To JavaReplies: 2Last Post: 12-01-2008, 02:27 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks