Synthetic Fields in Java
1 posts in topic
Flat View  Flat View

Posted By:   MKumar_Sankar
Posted On:   Wednesday, April 4, 2001 04:18 AM

What is a Synthetic field in Java? What is it's use? Please explain with an example if possible. Thank you .

Re: Synthetic Fields in Java

Posted By:   Michael_Wax  
Posted On:   Friday, April 6, 2001 02:58 PM

The Synthetic attribute is used by the Java Virtual Machine to mark fields not specified in the source code, but necessary for handling name scope for inner classes and interfaces. Use of the Synthetic attribute thus is not supported (nor would it be meaningful) at the source code level.
About | Sitemap | Contact