Search:

Type: Posts; User: jps

Search: Search took 0.10 seconds.

  1. Replies
    19
    Views
    1,639

    Re: Help with returning variable from method

    You have your plain hello world program:
    /** FILE: HelloWorldPlain.java */
    package test;


    /**@author jps<br> A plain hello world program.*/
    public class HelloWorldPlain {

    /**@param args...
  2. Replies
    19
    Views
    1,639

    Re: Help with returning variable from method

    this line here:
    return netpay; //add so that sample will compilethat is the return for the method, and is required to compile as you noted. That is because what you were given by the instructor says...
Results 1 to 2 of 2