Here's an example Java program to find the nth term of an arithmetic sequence:

```java
import java.util.Scanner;

public class ArithmeticSequence {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        System.out.print("Enter the first term: ");
        int firstTerm = input.nextInt();

        System.out.print("Enter the common difference: ");
        int commonDifference = input.nextInt();

        System.out.print("Enter the value of n: ");
        int n = input.nextInt();

        int nthTerm = firstTerm + (n - 1) * commonDifference;

        System.out.println("The " + n + "th term of the sequence is: " + nthTerm);
    }
}
```

This program prompts the user to input the first term, common difference, and the value of n. It then calculates the nth term of the arithmetic sequence using the formula nthTerm = firstTerm + (n - 1) * commonDifference and displays the result.
Genera un programma java corretto per trovare l'ennesimo termine di una sequenza aritmetica.