Answers for "how to import a self written class in java"

0

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;
Posted by: Guest on April-28-2021

Code answers related to "how to import a self written class in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language