Share on Google+Share on Google+

Access Modifiers in java

In this scjp topic you will learn about Access Modifiers in java.

Access modifiers are used to specify the visibility and accessibility of a class, member variables and methods.

There are four type of access modifiers

  1. public
  2. protected
  3. private
  4. default

For more details about access modifiers click on the following links

Create Subpackages


Posted on: July 3, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.


Advertisement null