Search:

Type: Posts; User: goldest

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    1,490

    Re: what's wrong in this code

    Just in case if you are interested to do the things from main only, then you will have to change the implementation a bit.

    You will need to use the static nested class inside your class. That...
  2. Replies
    2
    Views
    1,490

    Re: what's wrong in this code

    Hey Arvind,

    Usually in java the keyword "this" refers to the current object. And static means per class and not per object. The rule is that you can't access a non-static variable from a static...
Results 1 to 2 of 2