Java Join Two String Python Functions With Parameters