code_junkie

Import package.* vs import package.SpecificType

Nov 11th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. import a.*;
  2. import b.*;
  3. ...
  4. Foo f;
  5.  
  6. import a.*;
  7.  
  8. import a.X;
  9.  
  10. package P;
  11.  
  12. public class A {
  13. public static class B {}
  14. }
  15.  
  16. import P.*;
  17.  
  18. import P.A.*;
Add Comment
Please, Sign In to add comment