Posts by Pedro • 77 points
6 posts
-
-1
votes1
answer248
viewsQ: ParseException error
I have a problem about DATE. This giving error on line 58 about: Exception in thread "main" java.text.Parseexception: Unparseable date: "" at java.text.Dateformat.parse(Dateformat.java:366)…
-
1
votes1
answer27
viewsQ: Changing the value of an arraylist
I have a problem in CASE 4 of my code, I want to change the price of the movie by calling the set, But it doesn’t change. I think it’s a logic problem, I’m a beginner. public static void…
-
-1
votes2
answers45
viewsQ: What would it be like without Arrow Function?
What would that be like without Arrow Function? document.querySelector('.menu .backdrop').addEventListener('click', e => { document.querySelector('header .menu').classList.remove('open'); });…
javascriptasked Pedro 77 -
2
votes2
answers63
viewsQ: Toggle the text of an element with each click
I’m willing to keep changing what’s written in the DOM as a loop. But when he goes to the end of the teste1 and calls the teste, should not start the function again teste?…
-
-1
votes1
answer1402
viewsQ: Manipulating class within another class and saving in array
I created a class Pessoa and in it an attribute endereco, only I made a class Endereco to register more than one endereco per person. In that other class Endereco has id and nome da rua, and I can’t…
-
2
votes1
answer2094
viewsQ: Creating product registration using arraylist
I would like to create a product registration program using the ArrayList. How I put a loop to read NOME, MODELO, TAMANHO and PREÇO and store this first loop at an array list location? What code I…