Header Ads

  • Breaking Now

    Can an inner class be defined inside a method?

    Yes it can be defined inside a method and it can access data of the
    enclosing methods or a formal parameter if it is final.

    Post Top Ad

    Post Bottom Ad