what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / ejp
There is no such thing as an 'access specifier' in Java so
there is nothing for 'access modifier' to be different from.
There are 'type specifiers' and 'access modifiers'. See the
Java Language Specification.
| Is This Answer Correct ? | 23 Yes | 17 No |
Post New Answer View All Answers
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
define the terminology association.
Can we make a constructor final?
What is this keyword in java?
What is empty string literal in java?
What is bytecode verifier?
When does an object becomes eligible for garbage collection in java?
Is empty string in java?
How large is a boolean?
Can we override a variable in java?
Does java support function overloading, pointers, structures, unions or linked lists?
how to split string in java?
What is the difference between static binding and dynamic binding?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?