Posts by Brennofsr • 1 point
2 posts
-
0
votes1
answer51
viewsQ: Problems instantiating object in vector by Return of a method - JAVA
I have the following method of the Shop class that has the function of filling the variables of an object of type Sale (besides modifying a product according to the quantity of products sold passed…
-
-1
votes1
answer22
viewsQ: Problem accessing data from an object in an object array
I have a Store class that has an array of type Product (which has name, code, price and quantity) and I need to access the given name of the objects of this array. The following code is giving…