Access Modifiers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arunbalait
    New Member
    • Feb 2007
    • 164

    Access Modifiers

    Actually I dont know where to post this question..... Actually this is a OOPS concept......


    I want to know what are access modifiers and access specifiers?

    What are the differences between them?


    Thanx.....
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Moving to Software Development Forum

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      They are the same thing.

      Since Java is a proprietary language on Sun, it has its own personal vocabulary that differs from C++ so Sun could copyright the language.

      What C++ calls an access specifier (public, private, protected) Java calls an access modifier.

      Likewise where C++ has member functions, Java has methods.

      Comment

      Working...