Questions tagged as 'poo'

1
answer

How to save a detail of an invoice in an Object file?

Delivery Notes Object: public class Albaranes implements Serializable { private int id_albaran; private int id_cliente; private Date fecha_venta; private String comentario; private Articulos articulo; Object Articles:...
asked by 07.12.2016 / 23:56
2
answers

php poo carrito

Hi, the following error message appears trying to make a shopping cart (which, by the way, if you have a way to help me by throwing out tips, I would appreciate it):    Notice: Undefined property: driverproducts :: $ code in   C: \ xampp \ ht...
asked by 23.11.2016 / 09:44
1
answer

Terminated Program Files [closed]

When I run the following code in the console it shows me the following in the console: Window [Java Application] C: \ Program Files \ Java \ jre1.8.0_111 \ bin \ java.exe You know why this comes out: 'c? package formularios; import ja...
asked by 04.12.2016 / 07:59
1
answer

Using Object in another Form [closed]

How can I use an object declared on my form 1 to use it on my form2. In my form 1 the user enters some data that is stored in an object declared in the form1.cs and I want to operate that object on my form 2. Thanks     
asked by 17.09.2018 / 01:22
2
answers

Laravel 5.5 Containers

In Laravel 5, when you create a model with resource controller and migration ( php artisan make:model Environment -mr ) you can notice that the methods are automatically generated in the controller. Now, if you look at each method creat...
asked by 04.12.2017 / 14:32
3
answers

How to enter data into an array of objects by a function?

I want to enter a random number generated by a function to an array of objects, the problem is that when I want to enter it, it sends me an error, here the code: (I have a class called "Processes" where are the getters and setters methods) pac...
asked by 18.04.2017 / 20:02
2
answers

Close instance already created, Java - Eclipse

Good to you I am making an aplicaicon with several JFrames and in one of them there is a confirmation window, then suppose the following thing; I have: JF1. JF2. JD1. Instance JF2 from a button belonging to JF1 and from there instancio J...
asked by 22.09.2018 / 07:42
1
answer

How is the for each in C # used? [closed]

I am studying OOP in the faculty and I do not finish understanding objects, and now I am having problems with the for each, I understand that it is to go through objects, but I do not understand the function well. If you could recommend some boo...
asked by 29.10.2018 / 16:57
2
answers

Why every time I use equals () I get: "java.lang.NullPointerException"? java poo

Good I'm doing poo programs and every time I want to use the equals () method when executing the code I jump in red: "java.lang.NullPointerException", why will it be? public class Usuario { private String usuario; private String contraseña;...
asked by 09.12.2018 / 06:58
1
answer

Add objects to an ArrayList using other methods

I want to execute the method A_Cliente() in the Main class to be able to add a new object of the type Client in the ArrayList Cli. package Main; import java.util.ArrayList; import java.util.Scanner; public class Main { public static v...
asked by 06.05.2018 / 21:07