Questions tagged as 'poo'

0
answers

Implement different types of discounts to Products - PHP

how are you? I'm doing a PHP shop with CodeIgniter and I have a problem with the following: I want my products to receive 2 types of discounts: a discount% of the total price or a fixed amount. To achieve this, I thought of something like this:...
asked by 09.08.2016 / 20:39
0
answers

Calling EJB Remote brings result with 'null' values

I'm doing a JEE application and I have this interface which is called from a REST project (PruebaREST) package co.com.prueba.funcionalities.local; import co.com.prueba.entities.Categoria; import java.util.List; import javax.ejb.Remote; @Remo...
asked by 22.11.2017 / 22:06
1
answer

Matplotlib python

I have the following problem: I have a Python script that has a class called "Triangle" which has a method called "plot ()", it returns the graph of a triangle. In this same script I have another class called "Circle" that has a method called...
asked by 20.11.2017 / 04:09
2
answers

Get content from EditText

How about? A help please, I have this code in which I add 10 EditText to my activity . for(int i=0; i<10; i++) { EditText columna = new EditText(this); columna.setHint("Texto " + i); columna.setId(i); mlayout.ad...
asked by 23.05.2018 / 00:09
1
answer

Use the same method to count one option at a time (Java, eclipse)

Hello, this is my first question and my teacher asked me for homework for an exam that we did with the following program in java (we use eclipse mars): public static void main(String[] args) { System.out.println("Total de Alumnos:...
asked by 02.03.2017 / 05:35
4
answers

How to use an array of an object

I have a class Alumnos where I declare a Array of three elements: public class Alumnos extends Persona { private int numeroExpediente; private int nota[]; public Alumnos() { numeroExpediente=0; int not...
asked by 22.08.2017 / 14:33
3
answers

How to take a variable and declare it in each function with php?

I have a variable defined $sql which has as value a statement sql the problem is that I need the same statement in different functions, but I do not want in each function to have to put $sql = "SELECT * FROM....." but direct...
asked by 26.04.2017 / 15:12
2
answers

What should I do to make this program work? POO JAVA

Implement the Account class, knowing that: a. When you create an account, your balance is zero. b. It is only possible to extract an amount less than or equal to the balance in the account. I must do it following this annex: The p...
asked by 30.10.2018 / 19:06
2
answers

How to print some characters from the Ascii table? Java POO

I have to print by console the special, numeric, uppercase and lowercase characters of the ASCII table; But it does not print anything. I tried to get the for and only this sign comes out: for each method that I call in the main. I l...
asked by 04.12.2018 / 20:41
1
answer

No matching function for call to 'Class :: Class ()' [closed]

It marks me the error when wanting to reserve memory for 'n' movies //Main.cpp introducir el código aquí #include <iostream> #include"Pelicula.h" #include"Ficha.h" #include"Cine.h" #include<string.h> #include<cstdlib> using...
asked by 29.06.2016 / 07:03