I assume the class RandInt is some class you have inside your package? If it's outside your package you will have to add an import for it.