Krenair

Untitled

Dec 4th, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. //X.java
  2. package net.minecraft.shared.blocks;
  3. class X {
  4.         protected static void a() {}
  5. }
  6.  
  7. //Y.java
  8. package net.minecraft.shared.generators;
  9. import net.minecraft.shared.blocks.X;
  10. class Y {
  11.         public static void main(String[] args) {
  12.                 X.a(); //The method a() from the type X is not visible
  13.         }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment