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

What is nan inf?

0 Answers  


explain the collection in java

1 Answers   WDC,


can you create interface instance ?

54 Answers   Fidelity, TCS,


What do you understand by the term string pool?

0 Answers  


Why we use static and synchronized in method for single thread model example: public static synchronized add(){}

2 Answers  






What is internal variable?

0 Answers  


Whats the difference between notify() and notifyall()?

0 Answers  


What is the declaration statement?

0 Answers  


How do you sort a list in java?

0 Answers  


Where the CardLayout is used?

1 Answers  


What is the finalize method do?

0 Answers  


What is a cup of java?

0 Answers  


Categories