Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Why do pointers exist?

0 Answers  


What is abstrac class?where is it use?

2 Answers  


Which method cannot be overridden?

0 Answers  


Is enum a class?

0 Answers  


What is Method overloading?

5 Answers  






How do you define social class?

0 Answers  


What is the difference between the C & C++?

9 Answers   HCL,


What is differance between Abstract and Interface

3 Answers  


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

0 Answers  


what is polymorphism?

4 Answers  


When will a constructor executed?

5 Answers   TCS,


What is polymorphism oop?

0 Answers  


Categories