Debug the given code

import java.util.Scanner;

class Square
{
public static void main(String args)
{
// update your code below this line
Scanner read = new Scanner(System.in);
int num;
System.out.println(“enter a number”);
num = read.nextInt();
int square = num * num;
System.out.println(" the square of " + num + " is " + (num * num));

    }

}

why