Connecting Tech Pros Worldwide Forums | Help | Site Map

Access Modifiers

Familiar Sight
 
Join Date: Feb 2007
Posts: 164
#1: Nov 1 '07
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's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Nov 1 '07

re: Access Modifiers


Moving to Software Development Forum
Moderator
 
Join Date: Mar 2007
Location: North Bend Washington USA
Posts: 5,375
#3: Nov 1 '07

re: Access Modifiers


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.
Reply