I am very new to java and I was trying to use a package to sample some Chisquared distributed random variables . When I try to import the entire org.apache.commons.math3 package using
'import org.apache.commons.math3
I get an error and my code doesn't complile giving a import error but when I use import org.apache.commons.math3.distribution.ChiSquaredDistribution;
Is this because we have to import specific classes and we cant import entire libraries.