📜  如何在java代码示例中导入自写的类

📅  最后修改于: 2022-03-11 14:52:28.188000             🧑  作者: Mango

代码示例1
// 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;