Results 1 to 4 of 4
  1. #1
    Andyj is offline Member
    Join Date
    Oct 2009
    Posts
    10
    Rep Power
    0

    Default 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

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    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.

  3. #3
    Andyj is offline Member
    Join Date
    Oct 2009
    Posts
    10
    Rep Power
    0

    Default

    Awesome, thanks!

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default

    Quote Originally Posted by JaredJay View Post
    I am trying to determine what you mean. When you write -f^2(x) are you implying the second derivative of f?
    Huh?:confused:

    @all: zombie alert

Similar Threads

  1. Need help with simple problem
    By newb_tewb in forum New To Java
    Replies: 3
    Last Post: 04-08-2010, 02:18 AM
  2. I have a simple problem
    By o0oNorao0o in forum JCreator
    Replies: 20
    Last Post: 12-25-2009, 08:32 PM
  3. simple line problem / for loop problem
    By helpisontheway in forum New To Java
    Replies: 1
    Last Post: 11-17-2009, 06:12 AM
  4. simple GUI problem
    By McChill in forum New To Java
    Replies: 4
    Last Post: 04-03-2009, 03:13 AM
  5. Simple IO problem
    By aamp in forum New To Java
    Replies: 2
    Last Post: 12-01-2008, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •