Difference between public, private, protected and default in Java


This is a companion discussion topic for the original entry at http://iq.opengenus.org/public-private-protected-in-java/