Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is the difference between Access Modifier and Access
specifier?



What is the difference between Access Modifier and Access specifier?..

Answer / nilesh.bhil@gmail.com

Access Modifier can define the ristrict level of visibility.
There are three types of Access Modifier.
1)Private
2)Protected
3)Public
There are four types of Access Mode.
1)Private
2)Protected
3)Public
4)Default or Pakage mode

Access specifiers define behaviour level of visibility.
The Access Specifier are
abstract, static, final, strictfp etc.

Is This Answer Correct ?    10 Yes 7 No

Post New Answer

More Core Java Interview Questions

How do I write a self declaration?

0 Answers  


What does system.gc() and runtime.gc() methods do?

0 Answers  


Name the immediate superclass of the MenuComponent class?

1 Answers  


Can a list be null in java?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  






What is OOP Language?

0 Answers   Atos Origin,


How do I type unicode?

0 Answers  


What are the advantages of packages in java?

0 Answers  


What is the purpose of abstract class?

0 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


What is flag in python?

0 Answers  


What is a thin-client application?

5 Answers   Adobe,






Categories