Search:

Type: Posts; User: mstabosz

Search: Search took 0.10 seconds.

  1. Re: Creating a static method that requires no arguments and returns no values.

    You shouldn't call a function outside the body of a function (which you did on line 3). You've also left your main function completely empty so your program won't do anything.

    Also, don't put a...
  2. Re: Creating a static method that requires no arguments and returns no values.

    That 2nd try is a little closer, but that call to displayinfo(); is just sorta hanging out in the top of the class where the variables and method definitions go. There's no way to reach it and I...
Results 1 to 2 of 2