Posts by Richard Kulikowsky • 13 points
2 posts
-
1
votes3
answers422
viewsQ: How to pick any button through Onclick?
I have ten Buttons in my XML and I want you to change the Text of the button that the user click. I implemented a View.Onclicklistener in my Activity and my onClick was like this: @Override public…
-
0
votes3
answers75
viewsQ: Why in the second example (unlike the first) the result is concatenated and not summed?
example 1 final double BEGIN = 10.20, KM = 1.30, BAG = 2; Scanner s = new Scanner (System.in); double clientKm, clientBags; System.out.println("How many km?:"); clientKm = s.nextDouble();…
javaasked Richard Kulikowsky 13