Posts by Edson F. • 125 points
7 posts
-
5
votes1
answer106
viewsQ: I don’t understand the order to execute a code
public class Rope { static String result = ""; {result += "c";} static {result += "u";} {result += "r";} public static void main(String[] args) { System.out.print(Rope.result + " ");…
-
0
votes1
answer159
viewsQ: What is the explanation for the following question
This is a matter of the simulated java certification of the Whizlabs site. public class Whizlabs { public static void main(String[] args) { int[] testData = {1, 2, 3}; for(abc){ } } } The question…
-
2
votes3
answers110
viewsQ: JSF panelGrid does not work
The code below should show a simple screen divided between the names and input areas, but the panelGrid is not working, what’s wrong? When executing nothing appears. <!DOCTYPE html> <html…
-
3
votes3
answers109
viewsA: Error in compiling ola mundo
Try to put #include <stdio.h> just above the code.
-
0
votes1
answer2358
viewsQ: My . jar files generated by Eclipse are not opening
I’ve done everything I know and found on the internet to open a file. jar, but nothing works. When I do 2 clicks it just doesn’t open, it doesn’t error, but it doesn’t open anything either. I have…
-
0
votes2
answers407
viewsA: How to receive user date through Jtextfield, using Jodatime?
Thanks there diegofm, your answer was useful, although I have managed to solve otherwise, it was just a matter of logic same. private JTextField dia; private JTextField mes; private JTextField ano;…
-
1
votes2
answers407
viewsQ: How to receive user date through Jtextfield, using Jodatime?
I am unable to do the user input. I want the program to make the difference of days between today’s date and the date typed by the user. The program has more implementations but it’s just this part…