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

php - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -

authentication - ASP.NET Core 1.0. Bearer Token, cannot access custom claims -