+ 5
What is difference between Access Specifiers & Access Modifiers?
5 Answers
+ 6
That makes sense.
I see access modifier used most of the time to refer to private, public, etc.. Although, admittedly not by very credible sources.
According to this, access specifier is not used often, and those words are used interchangeably:
https://stackoverflow.com/questions/2238730/what-is-the-difference-between-access-specifiers-and-access-modifiers
Meanwhile, here you see what you said:
https://stackoverflow.com/questions/5026220/difference-between-access-specifier-and-access-modifier
I guess some programmers use both meaning the same thing since they never heard of the differences (like me). I blame all the articles that say "access modifier".
Your prof is essentially taking the word "modifier" and "specifier" litteraly; giving a real meaning to those words.
So, if your prof is right (which he/she probably is), then the difference is what you said (specifiers specify access, modifiers modify access).
+ 2
there is no access specifiers in Java
only access modifier are there
public private protected default
I think they both r same
0
Then what are final, abstract, static keywords
0
My college professor told me that final,static and abstract are access modifiers coz they provide information whether they can be modified or not and Private, public, protected and default are access specifiers since they specify whether they can be accessed or not
0
no final is not access modifier