Como funciona stmt.executeUpdate()

Boa tarde!

Estou com dificuldade para entender o método stmt.executeUpdate(),

alguém pode explicar como ficaria a variável neste caso:

int x = stmt.executeUpdate() ;

https://docs.oracle.com/javase/8/docs/api/java/sql/PreparedStatement.html#executeUpdate--

Returns:
(1) the row count for SQL Data Manipulation Language (DML) statements
(2) 0 for SQL statements that return nothing