The variant with the PreparedStatement is more elegant regarding the coding, as no string arithmetic is required to put the values for STATE and TYPE in the SQL statement.
使用 PreparedStatement 的那种代码片段在编码方面更为优雅,因为在将 STATE 和 TYPE 的值置入 SQL 语句时,不需要进行字符串运算。
2
Assembly language instruction sequence perform arithmetic, and jump instruction by changing the program counter value to execute the conditional statement and circular statement.