im doing on a project bout inheritance and i encounter few questions.
for example in a child class,
the above code suppose to get the quantity from its parent class and storing it in quantity1 right?Code:
private int quantity1 = super.getQuantity();
or is there a better way for getting data from a parent class?
i have only been using java for couple weeks, please help n thanks!