In the case of being an array of a single serious dimension;
new Vectores().ComprobarMenor(new int[] { 2, 4, 66, 6, 3, 7, 2, 7, 2, 13, 6 ,0});
But if they are two dimensions?
I tell you that I have two classes, a class of Task type and another of type Person, within the attributes of type person, has an ArrayList of Task type,
when I create an object of Task type, and when filling this object with its attributes....
This time I need to obtain the following purpose, in principle I get an object, which led to a multidimensional array , which I need to take only some depending on its content, the text strings are dates with their value next, I would need...
I am using a tool that serves to create user surveys.
The tool generates a page (the survey) with a JS object in which there is information about the user's interaction with the questions and some utilities (methods) and that she herself uses to...
The fact is that I have this function that creates objects of the Person class and stores them in an array. I create it correctly, the problem I have is that I want to show the value of the object created in an HTML div.
This is the constructor...
I have an html file that contains a button, which when pressed calls a function "newBiblioteca ()" which is responsible for creating a library-type object. The problem is that when you click on the button the browser does not do anything. And se...
I want a program that reads a serialized file that contains the data of an object called "Comarca": on the one hand it has strings (comarq) and on the other ints (poblacio). The name of the file must be passed as a parameter (go, for the main ar...
//
public class OrderVM
{
public User numUsu { get; set; }
//La lista es de ProductOrder
public List<ProductOrder> Products {get; set;}
}
var orderView = new OrderVM();
or...
When trying to print the list of objects I get the error of java.lang.NullPointerException
public Productos(int id, int precio, String nombre) {
this.id = id;
this.precio = precio;
this.nombre = nombre;
}
public int getId() {...
I am learning graphical interface in java with JFrame and I want to pass an object of a frame which creates a series to the main frame where I can see different objects.
I thought about using a getter so that the return is of the Series typ...