Declares a new private property called _id within the Example class: : Access Control Modifiers « Class « Flash / Flex / ActionScript






Declares a new private property called _id within the Example class:

 

package {
    public class Example {
        private var _id:String;
    }
}

        








Related examples in the same category

1.Access Control Modifiers for Classes are listed before the keyword class in a class definition
2.protected member variables
3.The Internal Details
4.private variable is not inherited
5.Inherit protected variable
6.Internal variable