Classes in same package
listed in answer
ANSWER:
If they are in the same package, you can access A in class B without import:
package example;
public class B
public static void main(String[] args)
A myA = new A();
}
by talnicolas from http://stackoverflow.com/questions/10194194

New Comments