All Questions

1
answer

Java doubt with equals () and with ==

Until a few years ago if I did in Java    "Hello" == "Hello" gave me as a false result, today I saw a code in which they used it with JDK 10 and out of curiosity I went to check it, and it actually returns true, someone can explain why th...
asked on 08.09.2018 / 20:30
2
answers

different numbers java array

The exercise consists of the following: given two arrays of 5 positions, we fill them with random numbers from 0 to 10 without repeating (until everything is correct) and then in a third array save the numbers from 1 to 10 have not been saved in...
asked on 17.05.2018 / 22:18
3
answers

SQL query by data type

I have the following query: SELECT COUNT(co.sexo_id) as TOTALDIA, se.SEXO FROM CONDUCTORES co JOIN TRAMITE tr ON co.conductor_id=tr.conductor_id join LICENCIAS lic on tr.licencia_id=lic.licencia_id jo...
asked on 05.09.2018 / 19:30
2
answers

Return of two values in JAVA

I am working on a decimal to binary converter and vice versa all this must go within the same method the problem is that I do not know how to return the binary value and the decimal one I leave the code waiting for some help package numerosBin...
asked on 24.07.2018 / 01:36
1
answer

Change variable by call to function

I need to know if this can be done, I think with pointers it could be but I do not know what form. On the one hand we have a function cambiarValor void cambiarValor (int a){ a=a*4; } and on the other hand the main from whe...
asked on 09.05.2018 / 12:31
3
answers

How to invert individual words of a string with python?

I want to invert the string but I keep the word order and only invert the letters as for example, if I have    My dog Renzo I should get    iM orrep ozneR. But when I use [::-1] it gives me this result:    ozneR orrep iM...
asked on 07.09.2018 / 01:54
2
answers

Help php receive two dates and show the end of the month in red

I need help with that exercise, it's a web application with php . It has to be POO Make an application that receives two dates and shows a list of the dates included in that range, showing the last day of each month of RED color. I'm do...
asked on 17.07.2018 / 17:16
3
answers

Browse JSON in PHP

I have a problem that I can not solve, I am still a novice in this. I receive in a php file the following JSON that I decode in this way. $resultado=json_decode($_POST["datos"]); and when I show the result variable it throws me down. {"n...
asked on 04.07.2018 / 09:17
2
answers

Mutable types in Java?

Good morning, I would like to know what the Mutable Types in Java really are, since it is not very clear at times when it comes to teaching. Greetings     
asked on 02.04.2016 / 15:17
3
answers

Pointer vs. Reference

Original author of the question link    Jack Reza link What would be better practice when passing the original variable to the function to work with it by: unsigned long x = 4; void func1(unsigned long& val) { val = 5...
asked on 05.12.2015 / 08:20