Question: Private variables: are accessible only by the class it was defined in. are accessible only by the class it was defined in, and any class
Private variables: are accessible only by the class it was defined in. are accessible only by the class it was defined in, and any class derived from that class are accessible outside the class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
