What are access modifiers?



What are access modifiers?..

Answer / javamasque

There are 4 access modifiers
• Public
• Protected
• Default
• Private

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is numeric promotion?

1 Answers  


How a string is stored in memory?

0 Answers  


Differentiate between the constructors and methods in java?

0 Answers  


What is string example?

0 Answers  


Explain final, finalize() and finally?

11 Answers   Accenture, TCS,






What is a method in programming?

0 Answers  


What is the significance of listiterator?

0 Answers  


What advantage does an entity bean have over a sessin bean?

3 Answers   Adobe,


Why java does not support pointers?

0 Answers  


What's the base class in java from which all classes are derived?

0 Answers  


Is object a data type?

0 Answers  


1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?

2 Answers   RBS,


Categories