Forums Register Login

outer class from inner class

+Pie Number of slices to send: Send
hi, can u tell me how to access an outer class varible from an inner class if the variable names are the same. thank you
+Pie Number of slices to send: Send
[OuterClassName].this.[variableName]
E.g.

[ February 19, 2003: Message edited by: Jim Yingst ]
+Pie Number of slices to send: Send
thanks
Whose rules are you playing by? This tiny ad doesn't respect those rules:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 856 times.
Similar Threads
Inner classes
Instantiate Static-Nested class
How to Contruct an Inner Class Instance
Outer Class Keyword
inner class
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:41:48.