Question: What will be returned from the method, if the following is the method header? public Rectangle createAShape() [) ] the values stored in the data

What will be returned from the method, if the following is the method header? public Rectangle createAShape() [) ] the values stored in the data members of the Rectangle object a null value an object that is contained in the class Rectangle the address of an object of the Rectangle class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
