Explain the difference between protected and default access.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What happens if an exception is throws from an object's constructor?

0 Answers   Amazon,


What is a java predicate?

0 Answers  


How many classes can any class inherit java?

0 Answers  


different types of threads?

18 Answers   TCS,


Explain the access modifiers for a class, method and variables?

0 Answers   Global Logic,






when we have to use final class in java?

2 Answers  


Why Java is not pure Object Oriented language?

0 Answers  


What are the Static and Dynamic Variables? Differentiate them.

0 Answers   CGI,


What is toarray method in java?

0 Answers  


Why java doesn’t support multiple inheritances?

0 Answers  


What does || mean in code?

0 Answers  


In treeset we add same object ...what will be the out put

3 Answers  


Categories