how to import a self written class in java code example
Example: how to import a self written class in java
// State this in the class that you have created...
package assignment1;
public class myClass
{
...
public Complex()
{return....}
...
}
//Import this class then in another class/java file that you have written
import assignment1.myClass;