Questions tagged as 'poo'

1
answer

How can I call the show methodData of the child class in my main? Bearing in mind that there are builders

public static void main(String[] args) { Persona[] persona = new Persona[5]; persona[0] = new Estudiante("Java Avanzado", "Agustin", "Ozuna", 5445247, EstadoCivil.soltero); persona[1] = new Estudiante("Visual Basic", "Gilberto", "Ram...
asked by 07.07.2018 / 02:47
1
answer

The image of my object is not seen in Wollok Game

I am setting up a very simple example of Wollok Game, based on the documentation : This is my game.wpgm import pepita.* import wollok.game.* program PepitaGame { // CONFIG game.title("Pepita") game.height(10) game.width(...
asked by 20.08.2018 / 22:01
1
answer

Laravel ORM Consulting relationships

I have three tables and models related to each other and I need to consult the properties whose Environment.Name = 'Dormitorios' and PropertyEnvironment.Value = 2 : App\Property : id address etc Methods:...
asked by 01.03.2018 / 15:28
1
answer

Problems with session_start (): Can not send session cache limiter

I'm doing a login using the MVC model in PHP and I have a problem of    Warning: session_start (): Can not send session cache limiter - headers already sent (output started at C: \ xampp \ htdocs \ backEndEmisoraSanJoseObrero \ views \ module...
asked by 22.11.2017 / 23:19
1
answer

Doubt about Polymorphism and fixes in C ++

I have a question about the use of arrays with polymorphism, the subject is like this: I have a class Article that inherit two classes Book and CD. class Articulo { protected: string nom; public: Articulo(); virtual voi...
asked by 31.10.2017 / 22:56
1
answer

How to consult records between two related tables in laravel

I want to make the query of a section table and of it to show the data of another table that is related, called semesters. I need help on how to consult it in the controller and how to display the data in the view My controller public...
asked by 06.11.2017 / 21:30
1
answer

Pass controller variable to the view

I put this as an example of what I want to do: public function imagenPerfilusuarioController(){ if(isset($_POST['btnmodimgu'])){ $respuestaver=Datos::verimagenPerfilusuarioModel($datosController,"usuarios"); if (isset($respues...
asked by 22.08.2017 / 02:11
4
answers

how do I generate objects with a java loop?

public static void main(String[] args) { Scanner teclado = new Scanner(System.in); System.out.println("Introduzca el numero deseado de objetos: "); int n = teclado.nextInt(); String vector[] = new String[n]; for (int i = 0;...
asked by 28.08.2017 / 07:46
1
answer

Java - Modify a JTable by means of an external Jframe

Hi, I have a question about a JTable . The program works by saving data of a product and then the list, but when wanting to modify by means of an external JFrame (that appears when pressing the EDIT button) I can not modify this data of the...
asked by 23.06.2017 / 11:14
1
answer

Simulate load event in a javascript class

I have a class with an ascynchronous method that defines several properties of my object, what I want to achieve is to obtain these properties but only when they were already defined by my method, something like the load event of the html elemen...
asked by 19.02.2017 / 02:13