The general form of a package definition directive
package packageName {
}
To add a class to a packagepackage packageName {
Class source code goes here
}
To create a newclass: use a class definition
class Identifier {
}
package com.java2s {
class MyClass {
}
}