Hey guys, im new to programming, just took my first course in university. I'm currently trying to program a calculator that does multiplication, but its giving me this error:
C:UsersKarimDocumentsKarim.java:14: error: missing method body, or declare abstract
public static void main(String[] args);

Anyone know how to fix it? :(

import java.util.Scanner;
public class Karim {



        public static void main(String[] args);
        {


        Scanner input = new Scanner(System.in);
            int a = 0;
            int b = 0;
            int product = 1;

        System.out.println("Please enter first number");
            a = input.nextInt();

        System.out.println("Please enter second number");
            b = input.nextInt();

        product = a*b;

        System.out.println("The product is: " + product);      
    }

Line 56 - has an incorrect ; - just delete it

 public static void main(String[] args) {
    // method body
 }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.