Using Packages to create classes with the same name
suggest changeFirst Test class:
package foo.bar;
public class Test {
}
Another Test class in a different package:
package foo.bar.baz;
public class Test {
}
The above is fine because the two classes exist in different packages.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents