java - private long nextId = -1L
PHPz
PHPz 2017-04-17 15:14:50
0
1
872

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

PHPz
PHPz

学习是最好的投资!

reply all(1)
伊谢尔伦

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

-1L means this is a long型常量

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template