Questions tagged as 'metodos'

1
answer

it is advisable to pass many parameters [closed]

Cordial greeting. I am making an application in c # use the program in three layers but I have the doubt that if it is advisable to pass many parameters to a method, if not, what can I do? Is there a design pattern to solve this? example: Publ...
asked by 30.03.2018 / 03:59
0
answers

How can I join two lists simply linked in java?

It's something very simple but it has given me a little headache, I am very new. The idea is to join two lists so that: list one = 1, 3, 5 list two = 2, 4, 6 The result should be: list three = 1, 2, 3, 4, 5, 6 I already made the c...
asked by 18.03.2018 / 23:16
1
answer

Notice: Undefined index

I have a problem with a form, I send the variables by post and keep in trouble, but I get a warning Notice: Undefined index: afterwards in C: \ wamp64 \ www \ model \ edit_productos2.php on line 47 and I do not know what can be wrong <form...
asked by 20.02.2018 / 17:11
0
answers

How to remove part of an array from a daughter window, opener?

I'm new to this, I do not understand why the pop method does not work on a parent window, I see in the console that the elements are deleted but the page should be refreshed, should not it? I do not know how to do this. I have several...
asked by 22.01.2018 / 13:24
1
answer

show values of one method in another method with php oriented to objects

Good, I'm working with an object-oriented php, so I have one class and two methods, in the first method I have a foreach where I extract values from the database public function ambitosController(){ $respuesta = gestorOposicion...
asked by 18.10.2017 / 08:15
1
answer

multidimensional array pointers

The following code is supposed to order the surnames alphabetically but for some reason it stops, the compiler does not mark any warning, nor error so if someone knows what happens explain to me what happens please #include <stdio.h> #in...
asked by 31.05.2017 / 18:54
1
answer

Help with serialization in java

I have in the main method: cargarDatos() : It is responsible for entering data from a .dat file. Ventana v=new Ventana() : It is responsible for opening a window with which you enter data. It ends with a defaultCloseOperatio...
asked by 19.05.2017 / 20:01
2
answers

tkinter, method .get does not return anything

The problem is that although I write something in the Entry fields, and I link them correctly to a variable, when evaluating them with the .get and see what they got, it returns null. ventana_añadir = Tk() ventana_añadir.title("Añadir u...
asked by 27.12.2016 / 01:35
1
answer

Call a FULL ARRANGEMENT of a class in a different class and use it in a FOR and IF cycle?

How can I send an array with values to another class, go through it (with a for) and validate each index (with an if) to send a message if it is complete or send an error message. It is a method in the class Validations that resiva the object of...
asked by 03.08.2018 / 05:29
1
answer

How can I calculate the date of a publication? in a common format

The java language The ideas is simple I have an now_date and I have pub_date I want to calculate the time between it and put the information in the following way: if it's a few minutes "6 min ago" if it's a few hours "6 hours ago" if it...
asked by 28.06.2018 / 01:53