Home  >  Q&A  >  body text

java - private long nextId = -1L

private long nextId = -1L 是什么意思?

PHPzPHPz2764 days ago787

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:16:50

    Declare a private long variable with the variable name nextId, initialize it, and assign the value to -1.

    -1L means this is a long型常量

    reply
    0
  • Cancelreply