Questions tagged as 'stack'

1
answer

Change a decimal to binary with stack java

Good morning, I am trying to convert decimal to binary, octal and hexadecimal and vise versa, but does not show me the correct values nor could I pass from binary to decimal, any idea? public static void main(String[] args) { Scanner keyb...
asked by 28.03.2018 / 23:22
2
answers

Is my battery program correct?

I made this program from a stack, but sometimes in the "output" array I get data that is not, that is, I give it to withdraw and sometimes I pass the data removed to the "output" array as it should be , but other times it puts me very large numb...
asked by 22.10.2018 / 00:24
2
answers

What causes the error: stack, heap or the type of data handled?

I have been asked to calculate the sum of the random integers in an array of 100 million positions, for this I have increased the size of the heap and the stack by executing it with the command "java -Xxs512m -Xss512m lab01" however still After...
asked by 19.02.2018 / 03:58