Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,200

    [SOLVED] Re: What am i doing wrong?

    Are those attempts to define a constructor for the classes? The name of the constructor must match EXACTLY the name of the class.

    If those are attempts to define a method in a class, then they...
  2. Replies
    6
    Views
    1,200

    [SOLVED] Re: What am i doing wrong?

    Where is the class named: main? Did you mean the main() method?
    Variables defined in a method are NOT known outside of that method.
    If you want all the methods in a class to be able to access a...
Results 1 to 2 of 2