Today reviewing some things of the operators I have found something like this:
public class Pruebas {
public static void main(String[] args) {
boolean a=false;
boolean b=false;
boolean c=true;
System.out.println(!a|b&&am...
How to create a list in Java Android of the type dictionary that is to say that content can be stored clave:valor , the key and its value are String .
Update 1
I have done the following:
Map<String, String> l...
I'm blocked and I do not know how to move forward.
I have the following information:
String Equiv1="";
String Equiv2="";
String equivalencia1="";
public int probarEquiv1 (){
Equiv1 =ConversorNou.PrimeraDivisaTXT.getText();...
I'm trying to create a list with simple content, that is, each element is shown in a single line
ArrayList<String> list = new ArrayList<String>();
list.add("Simple Item1");
list.add("Simple Item2");
list.add("Simpl...
I get the following error:
android.content.res.Resources $ NotFoundException: String resource ID # 0xbb8
Error log:
09-29 19:23:27.975 E/AndroidRuntime: FATAL EXCEPTION: main
Process: app.descubrirosona.lite, PID: 27051
android.c...
For some reason the cycles for does not work for me in eclipse luna, update the jdk but it's still the same, this is the simple code
public class main {
public static void main(String[] arg) {
System.out.println("inicio");
for(int i =...
I am working against an Active Directory and the server response is a boolean. And always, always, enter the "true" part of the if.
I have done debug returns false the validation against the Active Directory has gone well or badly....
I am using el in jsf in the following tag
<h:outputLabel value="#{msg.fecha}"
rendered="#{aperturaDoBean.dataItem6.idServicio ne 4 ||
aperturaDoBean.dataItem6.idServicio ne 3 ||
aperturaDoBean.dataIt...
This is my code, if I do not put conditions I get everything but I add a final comma and trying to filter the last position of i with an if () omits the last two numbers.
public class EjercicioFibonacci {
public static void main(String[] a...