Questions tagged as 'java'

4
answers

How to compare string with String format in JAVA?

To explain my question better, I need to validate the format of a string of characters, for example: the user should enter in the text field: 6412365-4 valid that the number is correct by applying module 11. but I want that if the user ent...
asked by 27.12.2017 / 14:20
2
answers

An array is a sequential list?

I understand that there are two types of lists: linked and sequential. In the case of the linked in java we have the class java.util.LinkedList but in the case of the sequential lists I have not found any type of class. I think that an array is...
asked by 04.02.2018 / 18:51
1
answer

Problem with application [duplicate]

I'm trying to make a program to ask French words to myself. I've done this code, but whatever I put in, "Your answer is incorrect." (else condition). Help please. import java.util.Scanner; public class AprenderPalabras { public static v...
asked by 23.09.2016 / 10:34
1
answer

DTO vs. VO vs. BO vs. EJB? [closed]

Seeing some example of internet I saw that there are applications where they make a separation of layers from when a request is made until when it is persite in a DB? Is there a real definition of these terms? since I have seen that each user gi...
asked by 20.11.2018 / 22:18
1
answer

FileNotFoundException when wanting to run a report made with iReport

When wanting to run a report made with iReport (the first one I do), it throws me the following error FileNotFoundException. I understand that it does not find the way to the file, but it is not clear to me how specify it, try in several ways, h...
asked by 05.10.2016 / 22:46
3
answers

Add specific data from an arrayList [closed]

In the following arrayList: Nombre: Producto1, CodProducto: 1, Precio: 10.0 Nombre: Producto2, CodProducto: 2, Precio: 20.0 Nombre: Producto3, CodProducto: 3, Precio: 30.0 How can I add the price elements? I want to get the total sum o...
asked by 19.04.2018 / 18:24
1
answer

How can I get the updated value of the dollar in android studio? [closed]

I'm new to android studio and I can not figure out how to do it. On my PC I wrote a Bash script that does what I need: #!/bin/sh wget www.bna.com.ar -O bna 2> /dev/null cat bna | grep td | grep [0-9][0-9]\.[0-9][0-9][0-9][0-9]| head -2 | ta...
asked by 03.05.2018 / 22:07
1
answer

how to place subtitles in a jtable

I need to place subtitles in a table, meaning that a cell occupies the entire width of the table, someone helps me. thank you very much     
asked by 29.08.2017 / 22:45
1
answer

mysql, simultaneous queries

how many queries does mysql support simultaneously? I know that the connection is not the same as simultaneous consultation, and that if there are 3,000 users on a website, it does not even remotely mean that the 3,000 make a query at the sam...
asked by 13.09.2017 / 23:11
1
answer

Error in Java 'Exception in thread "main" java.lang.NullPointerException'

I just made a program and it marks me the following error:    Exception in thread "main" java.lang.NullPointerException at   example_4.Example_4.main (Example_4.java:41) Code: import java.util.Scanner; public class Ejemplo_4 { public...
asked by 01.08.2017 / 00:39