Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.11 seconds.

  1. Re: Newbie Java problem --->"Cannot make a static reference to the non-static field d

    Have a read through this trail
    Controlling Access to Members of a Class (The Java™ Tutorials > Learning the Java Language > Classes and Objects)

    This should give you an insite into what you are...
  2. Re: Newbie Java problem --->"Cannot make a static reference to the non-static field d

    data is a private member of the class, so you cannot access it from outside of the class. You cannot use monthNames.data because data is declared as private, so it is hidden from the context.

    ...
Results 1 to 2 of 2