Questions tagged as 'java'

2
answers

ArrayList x List

What's the difference between declaring ArrayList and List for lists in Java ? What are the advantages of using one or the other?     
asked by 09.07.2015 / 13:08
1
answer

What types of collections and their differences in java?

There are many types of collections in java and I have trouble knowing the following issues below: What are the differences between them? What situations and / or cases should I use in each of the different collections?
asked by 02.10.2014 / 00:50
3
answers

Doubt about the responsibility of a get ()

Is it acceptable to have a getter method that gets a parameter to be able to have a return variance? Example: getAllNome("M"); <- retorna tudo que for masculino. getAllNome("F"); <- retorna tudo que for feminino. getAllNome(); <- re...
asked by 28.03.2014 / 21:12
2
answers

When and why should I use Class T class classes in Java?

When I see that a class gets it, I find it scary.     
asked by 04.02.2016 / 18:31
1
answer

What are the differences between overrideing and overloading in Java?

What are the main differences between overrideing and overloading in Java? What is the relationship between these terms with Polymorphism?     
asked by 14.03.2017 / 12:58
2
answers

Float decimal places

I'm developing an application to track product sales. However, sometimes the added value of reports does not beat the decimal places. It gives small differences. How do float stop giving these problems? I always use only two decimal place...
asked by 11.11.2014 / 13:02
3
answers

How to generate an executable .jar using Maven?

Is it necessary to do some extra configuration to generate an executable .jar by Maven? As I've never used this technology in development desktop I'm a bit lost. When I build the project (the logs show that I built it successfully) and try...
asked by 11.06.2015 / 23:20
4
answers

How to share a Java project with a team? [closed]

Does anyone know of any versioning that allows you to work as a team using Java? For example, a Word Online , where everyone changes the file in real time, and changes are saved to the server.     
asked by 22.06.2016 / 18:59
4
answers

Software to create Class Diagram [closed]

I would like to know what softwares are used or if there is any online site to create class diagrams, could anyone tell me?     
asked by 11.10.2016 / 20:10
3
answers

Boleto Bancaria - Convert Bar Code on Line

I'm doing bank draft bar code reading, but I've found that the bar code does not exactly correspond to the digitable line (also called line code, numeric code, or IPTE). According to a Bank of Brazil document:    4. Scanning Bar - Numeri...
asked by 30.07.2014 / 19:50