Questions tagged as 'java'

1
answer

Java How to convert a String attribute to Nominal to classify in Weka?

Hello, I have a program written in java that performs the classification process using the library of weka 3.6 and predicts which class a new record belongs to when I add the data. The problem is that it only works when they are numeric data bec...
asked by 22.04.2018 / 06:23
0
answers

Why is the console running?

I have the following problem, as a task I need to simulate a videogame of fighters and monsters, I did the battle class that is where they are supposed to fight, but in the Main class when creating the battle instance, it does not finish executi...
asked by 22.04.2018 / 05:17
0
answers

Error in xamarin routes

Hi, I have VS 2015 Community Edition, and Java 8 JDK. I want to start a Xamarin project, but I get the following error: Warning An unexpected error occurred trying to initialize Android Designer. Please verify the Android SDK path and the Jav...
asked by 22.04.2018 / 15:54
0
answers

close activity settings apps from another app

The problem is that I want to restrict the access to the desistalacion of an app, when the user goes into configuration-> application-> app, mediately displays an activity requesting passwors with two buttons, check and cancel, the objective is...
asked by 25.04.2018 / 17:15
1
answer

ListView with CheckBox Together But Independent

All this is simply a ListView with a Checkbox What I want to achieve is that by pressing the first element of the list in this case is 'English' do not press the checkbox and when ONLY press the Checkbox check the box public class Main...
asked by 29.04.2018 / 19:17
1
answer

He asks me for two values at the same time [duplicated]

I have a problem, I can not enter a value for a variable keyboard because I get 2 messages at the same time package libro; import java.util.*; public class Main { public static void main(String[] args) { //libro1 Scan...
asked by 29.04.2018 / 20:12
1
answer

How to print a rectangular matrix? java [duplicated]

Hi, I would like to know how I can print this 2x3 matrix since it always prints it 2x2 public static void main(String[] args) { double notas[][]= new double[2][3]; int i; int j; String acum="\n"; for(i=0;i<notas.length;i++) { fo...
asked by 29.04.2018 / 20:50
2
answers

Doubt about servlets and jsp

The question is this, I have a jsp that consists of a simple form to edit the data of an object (clients), but for that to be possible, I must first check that the object to be edited exists on a base of data. So everything is perfect, just simp...
asked by 22.04.2018 / 20:50
2
answers

Problem with do..while cycle that is not repeated properly

I have developed this program and it works well, however it does not coordinate the cycle Do...While That is, I need that once given (the number inverted), I continue to print the same question, in order to keep repeating the cycle, unti...
asked by 22.04.2018 / 20:51
0
answers

I'm trying to make sure that when the positions of the array [] are completed, do not let me insert more records

Every time I call the method, I reset the counter to zero but I have to declare the variable. In the class that contains this method, declare the attribute: private Vehiculo[] listaVehiculos; and I built the object public Parking() {//C...
asked by 22.04.2018 / 23:12