Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enginooby-practice/core-java


https://github.com/enginooby-practice/core-java

core-java

Last synced: about 7 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Practice Topics
- Primitive types
[[basic.PrimitiveTypes](https://github.com/cpulover-practice/core-java/blob/master/src/PrimitiveTypes.java)]
- ```MIN_VALUE``` & ```MAX_VALUE```
- Overflow and underflow
- Underscore integer (JDK 7+)
- int = 2 x short = 4 x byte (bits)

📌 Tips


  • In precise calculation, use BigDecimal instead of floating point number (float, double)

  • Use -L, -f, -d suffix for long, float, double

  • Prefer double than float (faster, more precise)