how to return a string from a method in java : i wrote a few lines of code to find the multiples of a number in java using two classes.how to return a string from a method.

    `class Multiples{
         String printMult(int x){
             int i,j;
             for(i = 0;i <= x;i++){
                for(j = 0;j <= x;j++){
                   return i + "*" + j;
                }
             }
         }
    }
    public class Chkmult{
       public static void main(String[] args){
            Multiples num = new Multiples();
            System.out.println(num.printMult(8))
       }
    }
    `