All Questions

4
answers

Behavior of the different forms of comparison in Java

If for example I have the code below, I'm comparing the object reference in the ex1 and ex2 case and not the object itself, correct? Pessoa ex1 = new Pessoa(); Pessoa ex2 = new Pessoa(); if(ex1 == ex2) { System.out.println("I...
asked on 01.10.2014 / 19:27
4
answers

What are the differences between HTTP 2 and HTTP 1.1?

A very pertinent question was asked earlier to find out what differences between HTTP 1.1 and HTTP 1.0 . I wanted to know exactly the same but between HTTP 2.0 and HTTP 1.1 . In addition, can you tell if the pr...
asked on 22.11.2016 / 11:29
1
answer

Why does HTML accept color with random names / strings in the body tag?

Some time ago I read somewhere about this, but I never understood how it works: Look at the example with the word 'chucknorris': jsfiddle Not only with the word 'chucknorris' but any random word always produces different results: 'Earen...
asked on 04.09.2014 / 13:20
2
answers

What is upcasting and downcasting in the Java language?

What would be downcasting and upcasting in Java? Examples please.     
asked on 29.05.2016 / 02:46
2
answers

What are the differences between git file states (untracked, unmodified, modified, staged)?

I would like to know what characteristics and differences between the states of the files during their life cycle in git . States : untracked unmodified modified staged     
asked on 30.08.2018 / 12:17
2
answers

What are MIME types?

What are MIME types? And how important is it for rendering pages / files correctly? Is your use mandatory or depends on your browser? If not declared, can browsers behave differently at treatment time? Example: <script type='tex...
asked on 13.11.2015 / 13:25
8
answers

How do I read values from the URL in Javascript (QueryString)?

When I access a page, for example /item?tipo=1&nome=po%C3%A7%C3%A3o%20de%20cura How do I get these values from the URL by properly decoding?     
asked on 15.12.2013 / 19:22
3
answers

How to recover the previous commit?

After adding modified file and having commit , I had to modify the entire structure of the code, but it did not work and I wanted access to the previous code again. How do I retrieve content from the previous commit ?     
asked on 24.12.2014 / 22:20
1
answer

What is and how does the context in Javascript work?

Essential part of Javascript, every function in Javascript has context, how does it work, how does it manipulate it, and what changes in the strict mode ( 'use strict' )?     
asked on 11.03.2014 / 23:53
4
answers

API for stock exchange listing

I'm trying to get the values from the stock market, but the only API I found was this . It returns values, but rounded. Does anyone know of any other free API?     
asked on 16.05.2015 / 07:10