Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to import class from another file in java

import package.myclass;

//But since it's the default package and same, you just create a new instance like:

elf ob = new elf();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #class #file #java
ADD COMMENT
Topic
Name
3+1 =