Public vs private access

http://ideone.com/R9KHmx