Questions tagged as 'poo'

2
answers

autoincrement in python3

I am a beginner in python3, I have the following code that I am doing and paneas I go in the second option def menu(): print ('Selecciona una opcion') print ('1. Ver') print ('2. Agregar') print ('3. Eliminar') print ('4. Modificar') articulos...
asked by 14.04.2018 / 03:02
1
answer

Show students assigned to a JAVA group

What do I need to do to show a list of students assigned to a group?     
asked by 19.10.2017 / 18:38
2
answers

query about getter and setter

The exercise is of an extreme simplicity, but I want to put a bit of difficulty and do it with POO. I have to ask for 5 numbers and then do an operation with those numbers, there is a condition that the numbers can not be greater than 10. Now, i...
asked by 05.12.2018 / 00:36
2
answers

calling a class from another without a StackOverFlowError occurring

Greetings, I have a program divided by packages and I also divide the logic of the interface, I am using the DAO and Factory models. I have some Get methods within a JFrame - I'll call it Class A - that refer to text fields, access t...
asked by 12.06.2016 / 18:11
1
answer

php poo insert many to many

If I have a many-to-many relationship: Books Books / Authors Authors Could you help me with the following questions: Do I have to create a class for each table? including the intermediate table? How would the insertion? Please have a function...
asked by 11.07.2017 / 07:09
2
answers

Java, I can not find the error. (basic OOP) [closed]

package nueve; import java.util.Scanner; public class nueve { Scanner sc = new Scanner (System.in); private int arreglo=0; private String Nombres []; private int Legajo []; private int AñoNacimiento []; private int AñoEd...
asked by 30.05.2017 / 16:07
1
answer

In what cases is it necessary to call Garbage Collector manually through the System.gc () method in JAVA?

I do not know if in complex programs like IDEs: IntelliJ, eclipse, netbeans among others occupy it at some point to more efficiently release system resources manually (speaking clearly of their source code of those IDEs and not at the moment of...
asked by 20.11.2018 / 15:52
1
answer

How to use the mysqli prepare function?

It happens that googling a bit to know how to improve the security of a web system and protect a little against sql injections I read that one of the best ways is to use PDO however I am more familiar with mysqli so I intend to use the funct...
asked by 27.10.2016 / 23:22