I have the following classes:
class Contenedor:
def __init__(self, nserie, categoria, peso):
self._nserie = nserie
self._categoria = categoria
self._peso = peso
@property
def categoria(self):...
Good I have a doubt about how I see that sometimes they declare variables in a way that I never saw, that is, I am used to declare variables of type: int , String , double , long , char , float , etc.
But I d...
How about people! I have a PrintServer with the software PaperCut PrintLogger which generates some CSV (and HTML) files with the printing log. I'm doing a script that reads the CSV in the data entered into a database, for further analysis....
I would like to know how to inherit a variable that contains the ID of a user obtained with the login to make an insertion to the BD with the id of the user that is logged in.
I have tried it in many ways but I have not solved my inheritance...
I have a method that returns an object to me
public CPunto PuntoMedio(CPunto a, CPunto b)
{
int xm = (a.x + b.x) / 2;
int ym = (a.y + b.y) / 2;
return new CPunto(xm, ym);
}
My question is how to receive th...
I have this problem and I want to consult directly, I get an error, if someone knew how to do it better, I would like to be instructed.
$user = $db->facultad->getAll("SELECT cuenta, contraseña FROM cuentas WHERE cuenta='MAT2018A001'");...
I'm starting to learn laravel and when I try to install homestead via git, I get this error:
I already have several days without being able to solve it, I already tried to enter the link provided by the console and it has not helped me...
I was doing an exercise on the sales of a video club, the video club has 3 products: movies, series and videogames. Each product has its class and in the main method I declare 4 objects of movie type, 4 of series and so on. Each class has overwr...
I am trying to carry out a poo project, but as I go from one to the other, I find it very difficult, I would like someone to help me with an explanation, I leave an image of the project thanks.
package Biblioteca;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Principal {
public static void main(String[] args) throws Exception{
BufferedReader bf = new BufferedReader(new...