Question: Answer the following subjective questions in java a. Explain why we need both public and private members in a class. b. Explain shallow and deep
Answer the following subjective questions in java
a. Explain why we need both public and private members in a class.
b. Explain shallow and deep copying with example program snippets
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
