Java AtomicLong intValue() MethodThe intValue() method of java AtomicLong class returns the current value of this AtomicLong as an int after a narrowing primitive conversion. SyntaxParametersthe numeric value represented by this object after conversion to type int. Example 1Test it NowOutput: 0 Example 2Test it NowOutput: 98383 Example 3Test it NowOutput: -65476 Example 4Test it NowOutput: -9 Next TopicJava AtomicLong Class |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India