Explain the difference between private, public, package and protected in java?


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

Post New Answer

More Core Java Interview Questions

Which category the java thread do fall in?

0 Answers  


What is executor memory?

0 Answers  


Explain about anonymous inner classes in java?

0 Answers  


Is it possible to use string in the switch case?

0 Answers  


Tell me the programme for this @ 1 2 @ @ @ 1 2 3 4

5 Answers   Accenture, iGate, IntoNET, Value Labs,






Can you access non static variable in static context?

0 Answers  


What is rule of accessibility in java?

0 Answers  


How do you sort words in java?

0 Answers  


Nullpointer exception is a very common exception. Why is it not made as a checked exception?

2 Answers   Ness Technologies,


where singleton classes are used in j2ee web application.can we use it for connection pooling.

1 Answers  


What is the generic function?

0 Answers  


If goto and const is reserve words than why it is not work in java?

0 Answers  


Categories