Search:

Type: Posts; User: Mr.777

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    1,499

    [SOLVED] Re: related to static! need help

    Yes. They can have non static variables.
  2. Replies
    12
    Views
    1,499

    [SOLVED] Re: related to static! need help

    Do you think m is static? NO!!!
    m is being passed as argument to fill() of Class D and class D doesn't even know m. Your concept about static is wrong. This method you have tried is called value...
  3. Replies
    12
    Views
    1,499

    [SOLVED] Re: related to static! need help

    NO!!!!
    And did you try it?
  4. Replies
    12
    Views
    1,499

    [SOLVED] Re: related to static! need help

    Static blocks or methods are executed before everything else in your program and non static variables take memory when they are called, so does the static. Well, let's have an example;
    Let's say we...
Results 1 to 4 of 4