Posts by Alison Almeida • 1 point
2 posts
-
0
votes4
answers428
viewsA: How to validate data passed to a constructor?
You could make an exception or create a new attribute this.valido = true | false, Beyond the Constructor can return nothing but a new object of the class. For example: public boolean ContaFisica(int…
-
0
votes1
answer93
viewsA: Error generating obj with JSON.parse()
First: your keys and values(string) have to be in double quotes. Second: You are using two root elements. Try it on there: {"data_1":{ "label": "Gcéu 17", "data": [ { "x": "2019-03-01", "y": 6 }, {…