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 -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -