The general form of a package definition directive : Package : Language Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Language » Package »

 

The general form of a package definition directive


 

package packageName {
}

To add a class to a package

package packageName {
  Class source code goes here
}
To create new class: use a class definition

class Identifier {
}

package com.navioo {
  class MyClass {
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Language
» Package