Question

Give two advantages to hiding representation details using objects?

Give two advantages to hiding representation details using objects?

Homework Answers

Answer #1

The two advantages are given below:-

1. Information hiding, In programming, the process of hiding details of an object or function. Information hiding is a powerful programming technique because it reduces complexity. One of the chief mechanisms for hiding information is encapsulation combining elements to create a larger entity.

2.The second advantage is yielding flexibility, such as allowing a programmer to more readily modify a program. Information hiding is also used to prevent programmers from intentionally or unintentionally changing parts of a program.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
State the first two laws of Thermodynamics and give a mathematical representation. (Explain the meaning of...
State the first two laws of Thermodynamics and give a mathematical representation. (Explain the meaning of the symbols)
Find a power series representation for the function. (Give your power series representation centered at x...
Find a power series representation for the function. (Give your power series representation centered at x = 0.) f(x) = (x^2) / (x^4 +16 ) Determine the interval of convergence. (Enter your answer using interval notation.)
Find a power series representation for the function. (Give your power series representation centered at x...
Find a power series representation for the function. (Give your power series representation centered at x = 0.) f(x) = 8 3 − x f(x) = ∞ n = 0 Determine the interval of convergence. (Enter your answer using interval notation.)
Why we use variable frequency drive. Details , advantages and disadvantages
Why we use variable frequency drive. Details , advantages and disadvantages
Find a power series representation for the function. (Give your power series representation centered at x=0x=0.)...
Find a power series representation for the function. (Give your power series representation centered at x=0x=0.) f(x)=1/15+x
1. State two disadvantages of open methods compared to bracketing methods. 2. Give two advantages of...
1. State two disadvantages of open methods compared to bracketing methods. 2. Give two advantages of bisection method compared to false position method.
give two reasons why it might be advantages to write multi - threaded program instead of...
give two reasons why it might be advantages to write multi - threaded program instead of a single threaded program?
In the case of a completely inelastic collision of two objects with the same mass and...
In the case of a completely inelastic collision of two objects with the same mass and the velocity given for only one of the objects before the collision, given the velocity after the collision, determine the velocity of the 2nd object before the collision. Please explain in simplest terms and give an example using units given.
A. If you have two objects with different masses hit each other the force between them...
A. If you have two objects with different masses hit each other the force between them will be the same or different when they hit. Explain B. If you have two vectors and you want to get the sum of these vectors. How many ways you could do that, explain your answer in more details, don't just give a numbe
Market Structure Role Advantages Disadvantages Example (with Details) The purpose of this assignment is to compare...
Market Structure Role Advantages Disadvantages Example (with Details) The purpose of this assignment is to compare the different market structures within the realm of health care. Use the "Health Care Market Structures" template to identify the four basic market structures, describe their role within health economics, describe the advantages and disadvantages of each market structure, and provide a specific health-care-related example of each market structure. Please use two or three peer-reviewed sources to assist you with this assignment.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT