What is the difference between public, private, protected, and friend access?


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

Post New Answer

More Core Java Interview Questions

if i have one string class then how can you achive this class functionality of this class?

3 Answers   Fidelity, iFlex,


What is the generic class?

0 Answers  


What is regex used for?

0 Answers  


Describe different states of a thread.

0 Answers  


List down the methods and interfaces of collection class in java.

0 Answers  






What is HashTable?

4 Answers  


Default layout of Dialog object?

1 Answers  


How do you detect memory leaks?

0 Answers  


What is an array and a vector? How they different from each other?

4 Answers  


Can private members of a base class are inheritable justify?

0 Answers  


Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?

5 Answers   Rolta,


Why deletion in linkedlist is fast than arraylist?

0 Answers  


Categories