scope - How can I create a member that should be available only to my sub classes in java? -


how can create member should available sub classes in java ?

static class xx {     private static int p = 10; //p accessible tt      static class tt {         static public int gett() {             return p;         }     }  } 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

c - getting error: cannot take the address of an rvalue of type 'int' -

How to merge four videos on one screen with ffmpeg -