Question: Question 14 1 pts How do references relate to pointers? O a reference to a variable is another name for exactly the same variable in
Question 14 1 pts How do references relate to pointers? O a reference to a variable is another name for exactly the same variable in memory O a reference to an object is just like a pointer to that object O references are more dangerous than pointers, and should be avoided references are used only in C. C++ programmers prefer pointers Question 15 1 pts Why are UML diagrams useful for programmers? They allow the programmer to draw, which is much more peaceful than programming Most UML tools will automatically write C++ code for you code:blocks won't run unless you have already created a UML diagram They allow you to visualize the features of and relationships between classes without writing code Question 16 1 pts Why is it common to add get and set methods to a class? this is only a common practice in Java. It isn't done in C++ O get methods are common, but set methods are more unusual because access methods are private, but member variables are public because access methods provide public access to the private member variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
