Results 1 to 4 of 4
  1. #1
    soccer_kid_6 is offline Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    0

    Default Solved

    Solved thank you
    Last edited by soccer_kid_6; 03-01-2010 at 04:09 AM.

  2. #2
    collin389 is offline Senior Member
    Join Date
    Nov 2009
    Posts
    235
    Rep Power
    6

    Default

    The only thing I can say without giving you code is: call the method with your parameters, hight in inches. Also it is a static function, so you don't have to create an object to call it.

  3. #3
    soccer_kid_6 is offline Member
    Join Date
    Feb 2010
    Posts
    35
    Rep Power
    0

    Default

    I don't mean don't give me the code. Just include a brief explanation with it if possible

  4. #4
    collin389 is offline Senior Member
    Join Date
    Nov 2009
    Posts
    235
    Rep Power
    6

    Default

    ClassName.convertInchesToFeet(height);
    this is the class name. the method is static so you don't have to make an object
    the period is used to call a method
    then next part is the method name
    whatever is in the parenthesis are the method parameters
    you need a semi-colon to call a method.

Similar Threads

  1. same object variable t and same methods is calling
    By javastuden in forum New To Java
    Replies: 1
    Last Post: 11-24-2009, 05:10 AM
  2. Calling methods from superclass
    By moaxjlou in forum New To Java
    Replies: 7
    Last Post: 12-11-2008, 01:07 AM
  3. Calling Methods
    By bluegreen7hi in forum New To Java
    Replies: 3
    Last Post: 12-17-2007, 07:22 AM
  4. Problems with readLine() and calling methods
    By peachyco in forum New To Java
    Replies: 2
    Last Post: 11-24-2007, 08:44 AM
  5. need help calling methods
    By lowpro in forum New To Java
    Replies: 2
    Last Post: 11-15-2007, 10:53 AM

Posting Permissions

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