import

What is the difference between " import java. util.* "and" import java.util. Scanner"

Instead of Scanner, it can be anything - the point is clear. Namely: why use the second option, if the first one is shorter a ... rt option is used, but I have never seen an explanation of why this is so. Perhaps it has some advantages over the first one?

Importing a library to Java

I can't import the library ArrayUtils. An error occurs when importing error: package org.apache.commons.lang3 does not exist. ... ng.Object Extended by org.apache.commons.lang3.ArrayUtils Which of these should help connect and use the library in my code?