Hello, you previously helped me with this part of my code:
public static void Lista(String textList) {
String[]stList= textList.split(",");
Arrays.asList(stList);
for(int i = 0; i < stList.length; i++){...
I am learning Java programming, I am already starting with object-oriented programming, and when I was reviewing a code for an exam I had a question that I could not find why it happens.
I have the following class:
class Vehicle{
int x;
V...
Good morning, I'm doing a small project to work with hospital patients. My problem arises when I want to receive data by keyboard.
What code do I have?
_ //Get nombre
System.out.println("Introduzca nombre del paciente");...
I have this little code in java / I'm starting to learn /
package com.switchtuto;
import java.util.Scanner;
public class switchcase2 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.p...
Hello, I am trying to create a method that returns me% String[] with the data from 2 different tables in this case is the table user and the table geolocation , the data of the user with its respective geolocation (city , nei...
The following Activity gets the data of a file in PHP that generates a JSON with the data obtained from MYSQL , I am new in this JAVA ANDROID , and I have little experience in PHP , I barely defend myself,...
I have a ArrayList of class, when loading it in the following way:
ArrayList<Diccionario> puertaHabitacion= new ArrayList<Diccionario>();
Diccionario puertaHab=new Diccionario();
puertaHab.setClave("Puerta Cocina");
puertaH...
In what kind of circumstances can you apply?
Example:
// Inicializar Primitivos
int i1 = 12;
int i2 = 300;
long l1 = 200L; // sufijo para primitivo long
long l2 = 200l; // sufijo para primitivo long
long l3 = 200;
float f1 = 1e-39F;...
I have created an application where I create 3 Fragments which I visualize with tabs and I want to send information from one fragment to another .. but I do not know what I'm wrong with as it does not mark a code error, but when I click on it bu...