Description
Currently, the Producto class only contains the following attributes:
precio (float)
nombre (String)
desc (String)
The escribirFichero() method in the Main class allows capturing product data from the console and storing it into a file, but it does not include a boolean field that could indicate, for example, whether the product is available or is featured.
Description
Currently, the Producto class only contains the following attributes:
precio (float)
nombre (String)
desc (String)
The escribirFichero() method in the Main class allows capturing product data from the console and storing it into a file, but it does not include a boolean field that could indicate, for example, whether the product is available or is featured.