3

Has Arrays class been removed in JDK 8 ?

I just downloaded jdk-8-ea-bin-b104-windows-i586-22_aug_2013.exe and tried to compile my program through it, but the import

import java.util.Arrays

is throwing error, showing class not found.

TheLittleNaruto
  • 8,325
  • 4
  • 54
  • 73
ItachiUchiha
  • 36,135
  • 10
  • 122
  • 176

1 Answers1

3

Hopefully you want this:-

import java.util.Arrays;

instead of

import java.util.Arrays

Has Arrays class been removed in JDK 8 ?

No they are not.

Check out this and this

Add additional utility methods to java.util.Arrays that use the JSR 166 Fork/Join parallelism common pool to provide sorting of arrays in parallel.

Jared Burrows
  • 54,294
  • 25
  • 151
  • 185
Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331