Changing private method/variables to public using setters and getters
<p>How do I change private variables from superclass to public so they can be inherited by the subclass? I've tried <code>public void setDetails</code>, but didnt work.</p>
