Why is the word "Exception" grey? And how do I fix that "missing Javadoc" error?
![]()
![]()


package com.codegym.task.task03.task0318;
/*
Plan to conquer the world
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
String name = scanner.nextLine();
int year = scanner.nextInt();
System.out.println(name + " will take over the world in " + year + " years. Mwa-ha-ha!");
}
}