When i copy that code verbatim it compiles and runs fine, but when i try importing the function from my main class it fails
import java.util.HashMap;
import Tubutas.TStringLib; //This class contains all my important functions
public class Test {
public static void main(String[] args){
HashMap man=makeList(new String[]{"Name","Age"},new String[]{"Tubutas","17"}); //This line has the error
System.out.println("man [" + man + "]");
}
}
Cannot find symbol - method makeList(java.lang.String[],java.lang.String[])
Also if it helps when spaced out...
import java.util.HashMap;
import Tubutas.TStringLib;
public class Test {
public static void main(String[] args){
HashMap man
=
makeList( //This line has the error
new String[]{"Name","Age"},
new String[]{"Tubutas","17"}
);
System.out.println("man [" + man + "]");
}
}
Cannot find symbol - method makeList(java.lang.String[],java.lang.String[])