INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE
METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN
A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?


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

Post New Answer

More OOPS Interview Questions

What are the OOPS concepts?

106 Answers   A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,


What is polymorphism what are the different types of polymorphism?

0 Answers  


What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.

7 Answers   ETH,






What is use of overloading?

0 Answers  


What is static modifier?

0 Answers  


why oops need in programming

7 Answers   TCS,


Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?

5 Answers  


What's the full form of STL?

2 Answers  


What is cohesion in oop?

0 Answers  


Write a program to get the binary tree.

3 Answers   ABC,


Categories