- Explain why Java prohibits generic array creation.
source: https://www.quora.com/Why-does-Java-prohibit-generic-array-creation
- **Why
Arrays.sort()
use merge sort instead of quick sort when sorting reference types?
Merge sort has nlogn ganruntee, and memory doesn’t matter because they are references.