what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / filistin
Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.
Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.
| Is This Answer Correct ? | 11 Yes | 22 No |
Post New Answer View All Answers
How many bits is a string?
Which is better ascii or unicode?
What happens if we don’t define serial version uid?
What is the exact difference in between unicast and multicast object? Where we will use?
Why do we use threads in java?
How can we achieve thread safety in java?
What about static nested classes in java?
What are different types of expressions?
What is the difference between static and non-static variables in java programming?
What are the advantages and disadvantages of object cloning?
what is the difference between a threads start() and run() methods? : Java thread
Can we override constructor in java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is Session reduplication and how its done?
How do singleton patterns work?