+ 1

I never fully understand

What are packages in java For example java.util.ArrayList Does this means that ArrayList is a class which is inside the util folder. And this util folder is inside java folder.. Please explain to me. Thank you

6th Jul 2020, 4:23 PM
stephen haokip
stephen haokip - avatar
1 Answer
+ 6
Hello stephen haokip Yes, packages are like directories. http://tutorials.jenkov.com/java/packages.html#:~:text=All%20Java%20source%20and%20class,is%20like%20a%20directory%20structure.
6th Jul 2020, 5:59 PM
Denise Roßberg
Denise Roßberg - avatar