Google Ads

Google Ads

Bible Wheel Book

Google Ads

+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jun 2007
    Posts
    1,965
    Quote Originally Posted by D.Thume View Post
    If we use same name for Inner Class and Outer Class member, and if we are using the same member in Inner Class, then we can differentiate that member by using Inner and Outer Class names.

    Example : If a variable int i declared in Inner Class and Outer Class, and

    If we are referring Inner Class Member, we can refer as this.i ;
    If we are referring Outer Class Member, we can refer as OuterClassName.this.i ;
    What?

  2. #12
    Join Date
    Jun 2007
    Posts
    3,471
    Quote Originally Posted by gilgal View Post
    Originally Posted by D.Thume
    If we use same name for Inner Class and Outer Class member, and if we are using the same member in Inner Class, then we can differentiate that member by using Inner and Outer Class names.

    Example : If a variable int i declared in Inner Class and Outer Class, and

    If we are referring Inner Class Member, we can refer as this.i ;
    If we are referring Outer Class Member, we can refer as OuterClassName.this.i ;
    What?
    My thought exactly, Gilgal!

    What???????????

    Rose
    Never trust anything you are afraid to question ~

    To know oneself is to know the universe...


    Live Fully...Love Extravagantly...For the sake of Goodness

    Be ye therefore wise as serpents, and harmless as doves. Matt.10:16

    Come let us reason together...Isa.1:18
    ********************************
    My new Blog site: God and Butterfly

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may edit your posts
  •