suppose:
one
Test.java
two
Test.java
App.java
such a directory structure. App.java
is the entry, and the content is as follows:
// one.Test two.Test
import one.Test;
import two.Test;
public class App {
public static void main(String[] args){
// one.Test
// two.Test
}
}
in the case of the above, how to solve the problem of different package names with the same class name? Can we only rename the conflict class? Or do you quote it in a full-path way?