Define instance variable varName with the access-control modifier internal : Instance variable « Class « Flash / Flex / ActionScript






Define instance variable varName with the access-control modifier internal

 

package com.java2s {
  internal class MyClass {
    internal var varName = "Unnamed";
  }
}

        








Related examples in the same category

1.Add an instance variable
2.Use private attribute to define instance variable