I have a problem it is not just passing Varargs to function, it is how to use Varargs in recursive function, I need generic function objects(List... args) send the n-1 element back to function until the last object by recursive and check these objects either null or empty. if all objects are both null and empty need to return false else true.
private boolean orObjects(List... args) {
//all of the objects are null or empty
if(args.length == 0)
return false;
//any of the objects is not null or not empty
return true: orObjects(args.size(1,lenght)) //args.size(1,lenght) verbal
}