I have a question !!

im fairly new to Java and in my class we are doing multi class and we use

Validation myVal = new Validation(intQuantity);

to send the info to the class


can i just import that class?? can call the function ???
import Validation.*; ?????