changing private method/variables to public using setters and getters
 how do i change private variables from superclass to public so they can be inherited by the subclass? ive tried public void setDetails. but didnt work.


changing private method/variables to public using setters and getters
===

 how do i change private variables from superclass to public so they can be inherited by the subclass? ive tried public void setDetails. but didnt work.

