import java.util.*;

class BasicPrograms{
  public static int multiply(int a, int b){
    return(a*b); 
  }
  
  public static void main(String args[]){
    Scanner ask=new Scanner(System.in);
    int a = ask.nextInt();
    int b = ask.nextInt();
    int product = multiply(a,b);
    System.out.println("Product: "+product)
  }
}

import java.util.*;

class BasicPrograms{
  public static int multiply(int a, int b){
    return(a*b); 
  }
  
  public static void main(String args[]){
    Scanner ask=new Scanner(System.in);
    int a = ask.nextInt();
    int b = ask.nextInt();
    int product = multiply(a,b);
    System.out.println("Product: "+product);
  }
}

Update multiply.java