Question: 11. To create an object that has the same reference address as the original object use: (1 Point) part of relationship Deep copy Shallow copy


11. To create an object that has the same reference address as the original object use: (1 Point) part of relationship Deep copy Shallow copy instanceof operator 13. Which among the following can restrict class members to get inherited? (1 Point) Public Protected All three Private and 14. For constructor overloading, each constructor must differ in (1 Point) Return type and definition Number of arguments and type of arguments Return type and type of arguments Number of arguments and return type 15. Which is most appropriate comment on following class definition? class Client int balance; public float balance }; (1 Point) Error: same variable name can't be used twice Error: Public must come first Error: data types are different for same variable It is correct 16. An instance member can invoke a call to other classes of the same package (1 Point) False True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
