If a variable is declared as private, where may the variable be accessed?


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

Post New Answer

More Core Java Interview Questions

Why do we need hashmap in java?

0 Answers  


Which oo concept is achieved by using overloading and overriding?

0 Answers  


Why do inner class cannot have static declaration except static nested class?

2 Answers   TCS, Wipro,


any other way to print the text without using System.out.println() in java?

5 Answers   IBM, Infosys,


What does += mean coding?

0 Answers  


What is the maximum size of array in java?

0 Answers  


What is difference between Iterator and for loop

9 Answers   HP,


What's the difference between an abstract class and interface in java?

0 Answers  


How to sort numbers in java without array?

0 Answers  


What is the importance of finally block in exception handling?

0 Answers  


how can i kill thread without stop() and destroy()

1 Answers  


What do you mean by constructor?

0 Answers  


Categories